Jump to:

10851 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar not showing upcoming events

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 852 Views
  • Shawn
    Avatar
    Community Member
    6 Posts

    Event Calendar not showing upcoming events Link to this post

    Let me first start by saying I'm a complete n3wb when it comes to SS - I've recently taken over an existing project and I'm trouble shooting the problem of not having my upcoming events display.

    Using the Event Calendar module. Data object manager is installed, SS version is 2.3.7.

    I'm creating a new calendar event, and pinning it to my "Local Events" section as its parent, "Local Events" being a Calendar page type.

    I can view an event by manually navigating to its url, but these events aren't populating on my Local Events page. Here is my code in my Calendar.ss - which is the template file that Local Events pulls from:

        <h3>UPCOMING EVENTS</h3>
       <% if Events %>
        <ul id="eventslist">
       <% control Events %>
       
       <li><div class="date">
        <h4>$StartDate.format(M)</h4>
        <h5>$StartDate.format(d)</h5></div>
        <h6>$EventTitle</h6><% control Event %>$Content.LimitWordCount(60)<% end_control %><br />
       
        <a href="$Link">More Information</a> | <a href="#">Visit Website</a></li>
       <% end_control %>
          
       <% else %>
       <% _t('NOEVENTS','There are no events') %>.
       <% end_if %>

    Any help would be greatly appreciated, as I have minimal experience with SS so far.

  • Shawn
    Avatar
    Community Member
    6 Posts
    852 Views
Page: 1
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.