Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Galleria integration with ImageGallery

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3 4
Go to End
Author Topic: 7028 Views
  • Rockshox
    Avatar
    Community Member
    14 Posts

    Re: Galleria integration with ImageGallery Link to this post

    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.

  • Rockshox
    Avatar
    Community Member
    14 Posts

    Re: Galleria integration with ImageGallery Link to this post

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

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Galleria integration with ImageGallery Link to this post

    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";

  • Rockshox
    Avatar
    Community Member
    14 Posts

    Re: Galleria integration with ImageGallery Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Galleria integration with ImageGallery Link to this post

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

  • Rockshox
    Avatar
    Community Member
    14 Posts

    Re: Galleria integration with ImageGallery Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Galleria integration with ImageGallery Link to this post

    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?

  • Rockshox
    Avatar
    Community Member
    14 Posts

    Re: Galleria integration with ImageGallery Link to this post

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

    7028 Views
Page: 1 2 3 4
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.