Page 1 of 1
Trouble With Calendar Mod.
Posted: Mon Jan 21, 2008 8:11 pm
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.
Re: Trouble With Calendar Mod.
Posted: Mon Jan 21, 2008 8:17 pm
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
Re: Trouble With Calendar Mod.
Posted: Mon Jan 21, 2008 10:36 pm
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,
Re: Trouble With Calendar Mod.
Posted: Tue Jan 22, 2008 3:43 am
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
Re: Trouble With Calendar Mod.
Posted: Wed Jan 23, 2008 6:07 pm
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....
Re: Trouble With Calendar Mod.
Posted: Thu Jan 24, 2008 9:23 pm
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.
Re: Trouble With Calendar Mod.
Posted: Wed Jan 30, 2008 9:03 am
by CtrlAltElite
*bump*
Hi, Unfortunatly i still cant figure out the links in my mini calendar.
Can anyone help me with this?
Thanks.
Re: Trouble With Calendar Mod.
Posted: Wed Jan 30, 2008 4:08 pm
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....
Re: Trouble With Calendar Mod.
Posted: Wed Jan 30, 2008 4:19 pm
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.
Re: Trouble With Calendar Mod.
Posted: Wed Jan 30, 2008 4:32 pm
by calguy1000
CtrlAltElite: Try using the inline parameter with your tiny calendar call.
Re: Trouble With Calendar Mod.
Posted: Wed Jan 30, 2008 6:10 pm
by streever
Hmm, if calguy is supporting this module, I'll stick with it

Re: Trouble With Calendar Mod.
Posted: Wed Jan 30, 2008 6:12 pm
by calguy1000
I tried to pawn it off on somebody.... I honestly tried

Re: Trouble With Calendar Mod.
Posted: Sat Feb 02, 2008 12:03 am
by hexdj
Latest SVN version of calendar is doing everything it's supposed to AFAIK.

Re: Trouble With Calendar Mod.
Posted: Mon Mar 24, 2008 7:05 pm
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.