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.

All other Modules

Discuss all other Modules here.

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

Image_Gallery Formating Date Value


Reply

10 Posts   1741 Views

Avatar
UncleCheese

10 November 2009 at 7:20am 4085 Posts

Why do you have a PHP file in your templates directory?!

themes/main/templates/Includes/AlbumList.php

Is that a typo?

If you look at how you have your template set up, you're not in an album control when you're trying to call those field values. Try:

<% control CurrentAlbum %>
<h5>$AlbumTitle<span class="album-info"> by $PostPhotographer</span></h5>
<p class="articleDate"><strong>Venue:</strong> $PostVenue</p>
<% end_control %>

Avatar
jdi

11 November 2009 at 7:58am (Last edited: 11 November 2009 8:17am), Community Member, 34 Posts

Ah sweet as.

Yes it was a typo soz.

That solves that problem, which is great.

I just realized that this is your module UncleCheese, so thanks so much for your help.

I've uploaded the new configuration to my live server (as it is working on my local) but I can't save and publish the page. I'll look up how to view the javascript parse errors to say what it is but until then all the help you've given me so far can't be implemented.

My live and local implementations of Silverstipe are the latest, updated to get the Image Gallery module working correctly...

EDIT: On refresh of the CMS the changes appeared to have worked.