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


Go to End
Reply


10 Posts   1854 Views

Avatar
UncleCheese

Forum Moderator, 4096 Posts

10 November 2009 at 7:20am

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

Community Member, 34 Posts

11 November 2009 at 7:58am

Edited: 11/11/2009 8:17am

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.

Go to Top