I want my Calendar to display the events like on: http://www.drugsmart.com/
That is: when you click a date, the event shows in a space next to the calendar.
How can it be solved?
Look at the page i´m working with: http://www.jln.se/new/cms/index.php?page=kalender
Thanks
Calendar: Event in a different page/template?
Calendar: Event in a different page/template?
Last edited by RazorMedia on Wed Feb 14, 2007 9:23 pm, edited 1 time in total.
Re: Calendar: Event in a different page/template?
Yeah the drugsmart calendar works like it should, click on a date and it shows the events for that date on the designated calendar page.
The CMSMS calendar module doesn't work that way, but you can almost do it.
You have to add the to the tag in your template
Then what will happen is whatever page you're on at the time, the details of that date will replace content (well almost). You will need to remove the {title} tag from your template and add it to the content itself to make a faked version of the site you're referencing. It's nuts.
Then you need to have a css to style the calendar that turns up, cause if you click off the home page, the calendar that replaces the content will not be styled at all, so what I did was to make css target only the .calendar class when it's in a certain div such as
#main .calendar
I'll have my site up in a few days, and I'll share then what I've worked out. I made tons of template changes to the calendar set so that it would appear to work the way you want, the way it SHOULD work.
The CMSMS calendar module doesn't work that way, but you can almost do it.
Code: Select all
{cms_module module="Calendar" detail="1" compact_view="0" table_id="small" inline="0" summaries="0"}
Code: Select all
inline="0"
Then what will happen is whatever page you're on at the time, the details of that date will replace content (well almost). You will need to remove the {title} tag from your template and add it to the content itself to make a faked version of the site you're referencing. It's nuts.
Then you need to have a css to style the calendar that turns up, cause if you click off the home page, the calendar that replaces the content will not be styled at all, so what I did was to make css target only the .calendar class when it's in a certain div such as
#main .calendar
I'll have my site up in a few days, and I'll share then what I've worked out. I made tons of template changes to the calendar set so that it would appear to work the way you want, the way it SHOULD work.
Re: Calendar: Event in a different page/template?
I agree with you that it´s nuts it doesn´t work this way already.
Thank you for the tip, i´ll try it!
Thank you for the tip, i´ll try it!
Re: Calendar: Event in a different page/template?
I worked out just fine - I just wanna kiss you!
Thanks a lot.
Thanks a lot.
Re: Calendar: Event in a different page/template?
Okay. I'll use some virtual mouth wash!
Be sure to send me a karma thingy.
Be sure to send me a karma thingy.
Re: Calendar: Event in a different page/template?
Can you please post your changes?
I would love to have it working that way, as well.
Nullig
I would love to have it working that way, as well.
Nullig