Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Event_Calender. Removing the sidebar on event pages?

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 883 Views
  • Xander
    Avatar
    Community Member
    2 Posts

    Event_Calender. Removing the sidebar on event pages? Link to this post

    To whom can help,

    I'm having a little problem with the event_calendar module. I've managed to get an overall calendar setup and running, however I wish to remove the side bar calendar navigation/filter from the Single Events page. I've gone through the CalendarEvent.ss and remove the sidebar container and reference. This doesn't seem to solve my issue.

    Site at the moment is:
    http://cadcoder.com

    Any ideas?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event_Calender. Removing the sidebar on event pages? Link to this post

    You should never modify the templates that are in the module directory. Copy them to your mysite or theme directory, edit them there, and run a build.

    e.g., for event_calendar/templates/Layout/CalendarEvent.ss, you should copy to {ThemeDir}/templates/Layout/CalendarEvent.ss

    and edit as you see fit.

    That way, when the module is updated, it doesn't overwrite your changes.

  • Xander
    Avatar
    Community Member
    2 Posts

    Re: Event_Calender. Removing the sidebar on event pages? Link to this post

    You sir are a legend and walking instruction manual.

    Thank-you for solving my issue and the words of wisdom!

    Regards,
    Xander

    883 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.