Calendar: Event in a different page/template?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
RazorMedia

Calendar: Event in a different page/template?

Post by RazorMedia »

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
Last edited by RazorMedia on Wed Feb 14, 2007 9:23 pm, edited 1 time in total.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm
Location: Florida

Re: Calendar: Event in a different page/template?

Post by carasmo »

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.

Code: Select all

{cms_module module="Calendar" detail="1"  compact_view="0" table_id="small" inline="0" summaries="0"}
You have to add the

Code: Select all

 inline="0"
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.
RazorMedia

Re: Calendar: Event in a different page/template?

Post by RazorMedia »

I agree with you that it´s nuts it doesn´t work this way already.

Thank you for the tip, i´ll try it!
RazorMedia

Re: Calendar: Event in a different page/template?

Post by RazorMedia »

I worked out just fine - I just wanna kiss you!
Thanks a lot.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm
Location: Florida

Re: Calendar: Event in a different page/template?

Post by carasmo »

Okay. I'll use some virtual mouth wash!

Be sure to send me a karma thingy.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: Calendar: Event in a different page/template?

Post by Nullig »

Can you please post your changes?

I would love to have it working that way, as well.

Nullig
Locked

Return to “Modules/Add-Ons”