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




6 January 2010 at 2:09am Community Member, 10 Posts

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 which included in
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?