calendar usage

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
streever

calendar usage

Post 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?
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: calendar usage

Post 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)
streever

Re: calendar usage

Post 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
streever

Re: calendar usage

Post 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--
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: calendar usage

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: calendar usage

Post 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)
streever

Re: calendar usage

Post 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
Locked

Return to “CMSMS Core”