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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Gallery Module and Template


Go to End


3 Posts   1733 Views

Avatar
olpo

2 Posts

13 September 2007 at 8:11am

Hi,

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
Ole

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

Avatar
The Frenchy

Core Development Team, 40 Posts

14 September 2007 at 9:57am

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

Avatar
Sigurd

Forum Moderator, 628 Posts

8 November 2007 at 5:46pm

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