Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Imae_gallery - Using $Description outside of <% control %>

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 537 Views
  • CHD
    Avatar
    Community Member
    218 Posts

    Imae_gallery - Using $Description outside of <% control %> Link to this post

    Hi,

    im working with image_gallery for a portfolio page on my site, but what i would like is the album list on the left as just thumbnails, then when you select an album, the right column opens that gallery with the description, then the images.

    the problem is i cant get $Description to work... it works if i add <% control Albums %> before it but then it obviously just lists all of my descriptions in a loop, how do i make it specific to the album we are currently in? is it somthing like $DescriptionURL? or $this?

    or is it just not possible?

    thanks in advance for your help.

    to help explain what im after, here's the page... http://www.clickheredigital.co.uk/portfolio/album/badminton-coaching-london

  • CHD
    Avatar
    Community Member
    218 Posts

    Re: Imae_gallery - Using $Description outside of <% control %> Link to this post

    never mind!

    for anybody else who needs it... <% control CurrentAlbum %>

    537 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.