
In the sidebar, I have a small version of the calendar (styled with table_id='small'). It's styled so that if there is an event, the event title is hidden but the day number will be a link to the event url that's supposed to open in the "main" part of the content area. I thought I had done that, until I clicked on an event link this morning. What actually happens is that the calendar switches to the list template in the sidebar. If I include the detail_page='page alias,' the event page will open in the main part of the page, but doesn't show the event.
What I'm trying to do is have a small version of the calendar in the sidebar and if there is an event on any given day, have that day number be a link to the event detail page for that day's event, but have the small calendar in the sidebar not change to list mode. However, when the large calendar is displayed in the "main" content section, I have it styled to show the event title as a link that opens in the event detail page (this works properly). I have a subpage under the calendar page that lists all upcoming events using the "upcoming" template.
I'm wondering if I need to create a new calendar template just for the small one in the sidebar so I can make it act as I want (since parameters are apparently not doing what I want). I found where in Calendar.module.php the templates are generated and I could probably duplicate and paste in a new template, but I'm not sure how to write the php and/or smarty code to make the template function as I want.
Is there anyone who could help me figure this out? I'd sure appreciate it!