Any body got any hints for me on this I've tried every combination of Page Controls but can't get it to recognise this is the current album and therefor change the HTML. LinkingMode works fine for the CSS class but as my example show's I want to do more than that is this not achievable or am I missing something simple!? thanks
in the ImageGallery menu to define between the current Album and the rest. I am trying to use the above control or equivalent so I can control the HTML as I am using images for the menu. The code I posted works fine for the Page.ss Menu but the ImageGallery ignores <% if LinkorCurrent = current %> and goes straight to the <% else %> for all menu links.
The LinkingMode method in ImageGallery works fine of course but I need more control then just the CSS class.
ImageGalleryAlbum doesn't have a LinkOrCurrent function.. just LinkingMode, which returns "link" or "current".. remember, an Album is not a page.. it's a DataObject, so it doesn't get the same properties as the usual SiteTree objects. I'm not really sure why an Album would return "section" in the first place... ??