Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Galleria integration with ImageGallery


Reply


28 Posts   8031 Views

Avatar
Rockshox

Community Member, 14 Posts

9 December 2009 at 11:33am

Ok so here's a question that is probably quite basic, but here goes...
You said I should only put the <li> into the template, so where do I put the rest of the markup?

<div class="demo">
   <ul class="gallery_demo_unstyled">
      <li><img src="$Image.URL" title="$Caption.EscapeXML" alt="$Title.EscapeXML"></li>
   </ul>
</div>

I can't help but feel that this is a bit beyond my level of SS knowledge, if anyone wants to help out... just let me know.

Avatar
Rockshox

Community Member, 14 Posts

9 December 2009 at 12:23pm

If anyone wants to see the files so far...

http://www.benwellby.com/galleria-zip/

Avatar
UncleCheese

Forum Moderator, 4093 Posts

9 December 2009 at 3:29pm

Every UI class has a $layout_template variable. It defaults to GalleryUI_layout. None of the UI components override that but if you need a custom structure, you can specify:

static $layout_template = "SomeOtherTemplate";

Avatar
Rockshox

Community Member, 14 Posts

10 December 2009 at 12:34am

I really appreciate all of your help so far Uncle Cheese, but because of my limited knowledge of SS (at the moment) I feel I am just fumbling in the dark trying to get this Galleria integration done.

If there where some docs or a tutorial I would more than happily invest time into getting this job done and I would also continue to work on integrating Cycle, GalleryView... and so on.

Unfortunately without this help I can't carry on, but this leaves me in a situation because my client has particularly asked for the Galleria slideshow integration. I really want to use SS as I have made the decision to use it rather than WP, I would feel laim jumping ship so soon.

Please let me know your next move, I am more than happy to help where I can with the progression of this CMS.

Avatar
UncleCheese

Forum Moderator, 4093 Posts

10 December 2009 at 6:01am

Cool. Thanks for getting this started. I'll finish it up for you in the next few days.. I hope..

Avatar
Rockshox

Community Member, 14 Posts

10 December 2009 at 9:59am

Edited: 10/12/2009 10:02am

It's that old OpenSource catch-twenty-two. Generally for OpenSource to be successful it needs to be well documented, if it is well documented then people will willingly give back to the project, but if you are so busy trying to give in the first place it's hard to find time to write the documentation.

Thanks UncleCheese. You are doing a great job with your modules, you really are the big cheese (that was supposed to be a compliment)!

Also, I am sure the Galleria integration will be a very popular new feature, over 100 people have viewed this post already.

Avatar
UncleCheese

Forum Moderator, 4093 Posts

10 December 2009 at 10:24am

It appears you haven't included the javascript, images, templates, or CSS in your ZIP file. All I see is a code folder. Do you have the rest?

Avatar
Rockshox

Community Member, 14 Posts

10 December 2009 at 11:03am

OK, don't know what happened there. Have now updated and tested the files.