Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Gallery module - design changes not coming up

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: 1169 Views
  • slamby
    Avatar
    Community Member
    21 Posts

    Gallery module - design changes not coming up Link to this post

    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.

  • pac
    Avatar
    Community Member
    25 Posts

    Re: Gallery module - design changes not coming up Link to this post

    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 ?

  • pac
    Avatar
    Community Member
    25 Posts

    Re: Gallery module - design changes not coming up Link to this post

    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 ?

    1169 Views
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.