Page 1 of 1
calendar usage
Posted: Mon Aug 28, 2006 5:27 pm
by streever
Hi all,
I have the calendar installed (by default I guess) but no idea how to add it to pages--I know this is probably stupid & simple but I can't find it anywhere.
Any help?
Re: calendar usage
Posted: Mon Aug 28, 2006 5:50 pm
by stopsatgreen
Create a new page, then in the content field put a tag like this:
{cms_module module="Calendar"}
That should display the default view; you can then customise it by playing with the parameters (see the module's Help file)
Re: calendar usage
Posted: Mon Aug 28, 2006 5:55 pm
by streever
thanks a lot
i don't have the help file for calendar, but, it looks easy: just css mods. I don't think I'll need anything special outside of this!!!
I appreciate it,
David
Re: calendar usage
Posted: Mon Aug 28, 2006 6:32 pm
by streever
One more question maybe:
is there anyway to display ONLY certain criteria? i.e. have the calendar only list x category?
thanks a million--
Re: calendar usage
Posted: Tue Aug 29, 2006 9:46 am
by stopsatgreen
The help page is in the Modules area of the CMS; click on the name (or Help) and it will show you all the parameters you can use.
Re: calendar usage
Posted: Tue Aug 29, 2006 3:42 pm
by Dr.CSS
You may try uninstalling / reinstalling...
from help...
What Parameters Exist?
display 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.
"upcominglist" - displays all upcoming events. No prev/next links.
Defaults to "calendar" (optional)
category --Only display items for that category. Leaving unset, will show all categories. Note that you can limit to muliple categories by separating each one with a comma.(optional)
month --Display entries for a particular month. If year is not set, then the current year is assumed. This option only works if display is set to "list" or "calendar". (optional)
year --Display entries for a particular year. This option only works if display is set to "list" or "calendar". (optional)
limit --Set to the maximum number of events to display. This option only works if display is set to "list" or "upcominglist". (optional)
first_day_of_week --Set to the first day of the week as a number between 0 and 6 (0 = Sunday). Default is 1 (Monday). This option only works if display is set to "calendar". (optional)
summaries --Set to 1 to display the summary information or 0 to not display it in calendar mode. Default is 1. (optional)
detail --Set to 1 to display the detail information or 0 to not display it in list mode. Default is 0. (optional)
table_id --Id to set for this calendar or list. This is useful for applying CSS styling. Default is "calendar-". (optional)
date_format --Format to display the event's date (as used in strftime()). Default is "%d/%b/%Y". (optional)
use_session --Use a session variable to store the current month of the calendar. Default is ture. (optional)
compact_view --Set to 1 to hide the navigation links. Helpful to show current month's events on the home page. Default is 0. (optional)
reverse --Set to true to display events in reverse chronological order. Applicable to list and upcominglist displays. Default is false. (optional)
Re: calendar usage
Posted: Wed Aug 30, 2006 5:36 pm
by streever
Hey Mark,
wow! That's great. Thank you so much.
I don't have the help, I must need to re-install it--I'll use the list you posted for me for now & figure out why the help is missing later.
Thanks a million