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 - design changes not coming up


Go to End


3 Posts   1774 Views

Avatar
slamby

Community Member, 21 Posts

16 June 2008 at 8:56pm

Hi.

I would like to change the appearance of the the lightbox-popup, which always displays the pixel dimensions and sizes when it pops up.

Pretty sure that I found the right place in GalleryPageContent.ss where to manipulate the caption which is responsible for that out, I wasn't able to generate the desired output.

It seems like the template is not updating even I was using /?flush=1 and /db/build/?flush=1 and reloaded and cleared my browser cache.

I'm stuck. Could somebody help me?

Thanks.

Avatar
pac

Community Member, 25 Posts

2 September 2008 at 8:18am

I guess I have the same problem
caption are just not showing up
I tried to play with the code around

<% if Content %>$Content - <% end_if %><% if HasDimensions %>$Width x $Height - <% end_if %>$Size"

but it does not display $Content, just the size.

I do have a content with the proper caption in the database though, it just won't display

anyone has a workaround ?

Avatar
pac

Community Member, 25 Posts

2 September 2008 at 10:39pm

well even after 6 hours of looking aroud, I can't figure out exactly what is wrong

One thing is sure : $Content is empty, so captions cannot show up

seems like it isn"t defined in $tems array in GalleryPage.php, around lines 270.

No idea how to grab it though, can anyone help ?