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.

All other Modules /

Discuss all other Modules here.

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

Imae_gallery - Using $Description outside of <% control %>


Go to End


2 Posts   822 Views

Avatar
CHD

Community Member, 219 Posts

13 September 2010 at 9:54pm

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

Avatar
CHD

Community Member, 219 Posts

13 September 2010 at 10:03pm

never mind!

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