Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » How to show EventCalendar Widget in all pages

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1227 Views
  • sureshk
    Community Member
    10 Posts

    How to show EventCalendar Widget in all pages Link to this post

    How can I show Calendar Widget in all pages at the right side . When user clicks on a particular date, it should go to Events page and displays the relevant Events and content etc.
    I installed EventsCalendar module and created one "Events Calnedar page" and created some events under this main Calendar page in Admin.
    I tried this function in Page.php and called in RightMenu.ss which included in Page.ss
    function MyCalWidget(){
    return new CalendarWidget($this);

    It is showing the widget, but when I click on a particular date, it is taking to same page, It is not taking to Events Page.
    Can anybody please suggest me how 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.