Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Image_Gallery Formating Date Value

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 1729 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Image_Gallery Formating Date Value Link to this post

    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 %>

  • jdi
    Avatar
    Community Member
    34 Posts

    Re: Image_Gallery Formating Date Value Link to this post

    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.

    1729 Views
Page: 1 2
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.