Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Gallery Module and Template

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1321 Views
  • olpo
    2 Posts

    Gallery Module and Template Link to this post


    I installed the gallery addon. The istallation was pretty easy.

    But I do not create it to include the template.

    In the documentation I read following:
    To see the gallery, you have to include that code either in a new GalleryPage.ss file or directly in Page.ss

    I did in in any different ways that i thought, but the gallery not works.
    Yes, after each try i flushed the site (?flush=1).

    I'm using the unmodified BlackCandy Theme.
    So i hope anybody can help me or send me the original templates with included gallery perhaps?

    Best regards

    PS: Sorry for my bad english, my school time (where I learned enlish) is for a long time ago ;-)

  • The Frenchy
    Core Development Team
    40 Posts

    Re: Gallery Module and Template Link to this post

    If u have put the sentence <% include GalleryPageContent %> in your template as you have said in your post. The problem doesn't come from here.

    So it means that maybe one of your parameters in the CMS like the number of images per page or per line is not set or have a null value.

    Even if it's not the case do a refresh on your cms after having saved your last changes, just to see if the changes have been well saved because sometimes the CMS works fine and u think that your changes have been saved and actually it's not the case.

    Tell me if it works fine now ;-)

  • Sigurd
    Forum Moderator
    628 Posts

    Re: Gallery Module and Template Link to this post

    The new gallery module that Romain just released today should be easier to install...

Page: 1
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.