Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

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

How to show EventCalendar Widget in all pages


Reply


1281 Views

Avatar
sureshk

Community Member, 10 Posts

6 January 2010 at 2:09am

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?