Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » EventCalendar and side menu linking

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 286 Views
  • JonC
    Community Member
    8 Posts

    EventCalendar and side menu linking Link to this post

    I find myself needing to implement EventCalendar with a sidebar showing the list of events on the main event summary page and each individual event page as well, with the current event selected highlighted in the side menu.

    This is the (crude) code I put together in order to get the events list on CalendarEvent pages. However, I cannot see a way to make them highlight, as $LinkingMode doesn't work.

    <% control Parent.Events %>
    <li><a class="$LinkingMode" href="$Link" title="Go to $Title">$EventTitle</a></li>
    <% end_control %>

    Is there a way to do this?

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.