Trouble With Calendar Mod.

General project discussion. NOT for help questions.
Post Reply
CtrlAltElite
New Member
New Member
Posts: 5
Joined: Mon Jan 21, 2008 7:35 pm

Trouble With Calendar Mod.

Post by CtrlAltElite »

Hey there,

I'm having trouble with the calendar mod. I cant get it to do what i want it to do.

Could anyone help me out?

I'd like it to list the next 5 upcoming events in the SIDE BAR followed by the Mini-calendar.

EVENT NAME
-- Date of event.

EVENT NAME 2
-- Date of even.

Ect...

Then the 'small' calendar.

When you click on an Event it will goto a page just showing that event + details + comments.
Same for the mini Calendar.

I would also like a Page that u can visit from the menu that Lists all the Events (Not including the ones that have past.)
When you click on each of them, it goes to that event page + details + comments.

I hope you understand me,
All help would be appreciated.
Thanks.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Trouble With Calendar Mod.

Post by RonnyK »

CtrlAltElite,

you can call the calendar module twice with different parameters, check the help of the module for the full list:

display-parameter:
Acceptable values:
"calendar" - displays events for the current month in a traditional grid. Inclues links to prev. and next months.
"list" - displays events for the current month as a list. Includes links to prev. and next months.
"yearlist" - displays events for the current year in a list. Includes links to prev. and next years.
"pastlist" - displays all past events. No prev/next links.
"upcominglist" - displays all upcoming events. No prev/next links.
Defaults to "calendar" (optional)
To show only a few:
limit= Set to the maximum number of events to display. This option only works if display is set to "list", "pastlist" or "upcominglist". (optional)
And for the page to open the details in:
detailpage="pagealias"
Ronny
CtrlAltElite
New Member
New Member
Posts: 5
Joined: Mon Jan 21, 2008 7:35 pm

Re: Trouble With Calendar Mod.

Post by CtrlAltElite »

Thanks ronny.

I cant findwhat to put on the 'Details page'. If i put 'list' or anything, it wont show details.

Also, i may be sounds a bit stupid. But i only seen to be able to add the event title. How do i add details and summary to the Event?

Thanks Again,
CtrlAltElite
New Member
New Member
Posts: 5
Joined: Mon Jan 21, 2008 7:35 pm

Re: Trouble With Calendar Mod.

Post by CtrlAltElite »

Hey!

Good News so far =] I'm doing well.
(Just dont look how long i've been at it :p)

Forget the last message, I have a few questions now.

1) Is it possible that i can Set background to 2 different colours when listing the 'Upcoming events'? .. To make it easier to read?
A Light grey and White, alternate backgrounds to make reading list's easier.

2) My 'small' calendar now just has the 'dates'.. But when i click on a date. I just goes to my 'Details page' without any details.
How can i make it goto the same as the 'More...' links page?

My site is: http://www.turbinia2.fragster.frih.net/

Thanks for any help.
C-a-E
Last edited by CtrlAltElite on Tue Jan 22, 2008 7:54 am, edited 1 time in total.
streever

Re: Trouble With Calendar Mod.

Post by streever »

Hey,

I am having the same problem as CtrlAltElite--it's incredibly frustrating.

I need the calendar to do list mode & detailpage at the same time....
CtrlAltElite
New Member
New Member
Posts: 5
Joined: Mon Jan 21, 2008 7:35 pm

Re: Trouble With Calendar Mod.

Post by CtrlAltElite »

Hey Streever..

Code: Select all

{cms_module module='Calendar' table_id='small' detailpage="event-details" first_day_of_week=0}
This appears to work fine for my mini calendar...
and..

Code: Select all

{cms_module module='Calendar' table_id='cal-list' display='upcominglist' detailpage="event-details" limit="3"}
.
Is what i used to list the next 3 upcoming events.

You can view how they look on my site on the right. The links from the upcoming events work, But the links i nthe mini Calendar dont, Can any1 help me with that?.

Thanks.
Last edited by CtrlAltElite on Thu Jan 24, 2008 10:29 pm, edited 1 time in total.
CtrlAltElite
New Member
New Member
Posts: 5
Joined: Mon Jan 21, 2008 7:35 pm

Re: Trouble With Calendar Mod.

Post by CtrlAltElite »

*bump*

Hi, Unfortunatly i still cant figure out the links in my mini calendar.

Can anyone help me with this?

Thanks.
streever

Re: Trouble With Calendar Mod.

Post by streever »

I think I'm going to just start using a 3rd party calendar.... the one in CMSMS seems to have too many flaws and too little support....
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Trouble With Calendar Mod.

Post by calguy1000 »

CtrlAltElite:

with a bit of creativity in the calendar template, yes you should be able to use the smarty {cycle...} tag to alternate background colors, etc. 

And as far as the detail link thing goes are you going to the same detail page?  that one looks a bit wierd.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Trouble With Calendar Mod.

Post by calguy1000 »

CtrlAltElite:  Try using the inline parameter with your tiny calendar call.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
streever

Re: Trouble With Calendar Mod.

Post by streever »

Hmm, if calguy is supporting this module, I'll stick with it :)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Trouble With Calendar Mod.

Post by calguy1000 »

I tried to pawn it off on somebody.... I honestly tried :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Trouble With Calendar Mod.

Post by hexdj »

Latest SVN version of calendar is doing everything it's supposed to AFAIK.
:D
maltek

Re: Trouble With Calendar Mod.

Post by maltek »

Hi CtrlAltElite,

I am just setting up the calendar and had the same problem.

You need to include the parameter inline=0 when you call the calendar module.  Please Note: Don't write this with parenthesis like inline="0" as it doesn't seem to work.  As soon as I tried it without quotes it worked for me.  ;) 

Most likely it uses the integer value as a boolean so if you pass it as a string it doesn't work.
Post Reply

Return to “General Discussion”