EventFolderProperties
Note: all properties are STRING unless otherwise mentioned.
- prefix
- This is a prefix prepended to the title field (see immediately below).
Defaults to an empty string.
- title
- This is the title of the event log as shown on the calendar title bar and in other places.
Defaults to "Event Log".
For example, if prefix is "Surbiton" and the title is "Event Log" then the title bar will read "Surbiton Event Log".
- nickname
- Used with the "breadcrumbs" navigation aid, this will be the name shown in the breadcrumbs display
when "inside" the event log namespace. Some methods override this name to show a more descriptive name such as
"Search Results" and so on (these are hardcoded in the respective DTML methods). Defaults to "Event Log".
- year_tok
- This TOKENS property determines which years will show up in the calendar display drop down box and hence
which years can be displayed. Defaults to 2000 and 2001. This is a TOKENS property, so be sure to use a set of years
that is separated by spaces.
- batchsize
- This property is used to determine the number of display items when lists
of events are shown as a result of a search or for certain other operations.
- contextMessage
- This property is ideosyncratic to the author's site, but may be handy for others. If you've used
breadcrumbs you may have noticed that it can act weird with certain types of folders: this folder is one of those types. Basically,
before the breadcrumbs DTML begins I see if there's a contextMessage and if there is I display it instead of the
breadcrumbs. For more info, email the author. Otherwise you can ignore this.
- useOverlib
- This BOOLEAN property should be checked if you're using the
overlib javascript library for popup windows. It's neat. If you check
this then you should have that library loaded by any page that contains a calendar.
- titleFgColor,titleBgColor
- These are the text and background colors for the calendar title bar. Defaults to
Black (#00000) and #ffffcc (beige)
- headingFgColor, headingBgColor
- These are the text and baclground colors for the Calendar month/year indicator
bar. Defaults to White and Black.
- bodyFgColor, bodyBgColor
- These are the text and background colors for the calendar dates. Defaults to Black and White.
- ctlsBgColor
- The background color for the controls area underneath the calendar. Defaults to #ccffcc.
- bordercolor
- The color of the outer border of the calendar display. Defaults to #000033 (reddish)
- borderwidth
- The width of the outer border. Defaults to 2 pixels.
- allowPosting
- If this Boolean property is ON (the default) then the NEW EVENT link will appear in the calendar
display. Uncheck this checkbox if you want to add events only via the Zope management interface.
- yearBreaks
- Determines where rows break in the YEAR display (after clicking on the Year link of the
monthly calendar display). With the default setting of '3', rows will break every three months. Other
practical values are 6, 4, or 2. Values <=0 or > 12 will be ignored and 3 will be used instead.
- moderated
- If this Boolean property is ON then unreviewed postings won't appear anywhere, inluding searches. Defaults to ON.
IMPORTANT: If you turn this OFF and later ON again, all postings, updates, etc. created in the interim will be unreviewed.
- subjectNames
- This LINES property determines the subjects displayed when users create new events. Each subject must be on its own line.
There should always be a GENERAL subject since it's mentioned in help messages to users.
Note: this system doesn't support a subjectless mode. Also, it's untested and undefined what happens if you were to
remove all subjects. Finally, the list of subjects in the search form will show subjects that have been used in
postings even if those postings were not reviewed (applies to moderated event folders only).
- maxTitleChars
- This sets the maximum size of the title for event: sets the text box size in the new event creator form. Defaults to 40.
- linkRelFontSize
- This property sets the relative font size of the links at the underneath the calendar display.
- webmaster
- Identifies contact person. Defaults to nobody@nowhere.com
- docGridDisplayColor
- The color of the grid used in the event display page (see index_html in EventFolder/EventDocument).
- mgmt_batch_size
- The batch size used for the event folder's special management page.
- formcc
- Contrasty color used for 'inverse color' look on forms (new event, update/review, date and those that
edit these objs) - usually light grey #e0e0e0
- searchMaxItems
- Sets the maximum number of matches returned by the search invoked from the calendar display. Default = 50. Memory use in/decreases in proportion to this value.
- filterHtmlInForms
- When checked the following tags can't be used in the text fields of the event or update/review: head,html,meta,base,dtml,applet,area,bgsound,body,form,button,embed,frame,frameset,iframe,input,layer,link,script,select,style,textarea,title.
- todayFgColor,todayBgColor
- If the calendar display includes the current date, then that table cell
is 'highlighted' with these foreground (Fg) and background (Bg) colors. The Bg is the background color of the cell
and the Fg is the text color (set by a <font> tag). This can be tricky because when the cell has a link in it
(that is, if there's an event for that date), then the link color will be blue (or whatever you have set in your HTML
header or what the user's browser has been set to as an override). So experiment a bit. If you don't want to have
any highlighting then set the colors to the same as bodyFgColor, bodyBgColor mentioned above.
Defaults for todayFg/Bg color are = #ffffff and #cccccc.
- outerTable
-
Includes (yes) or removes (no) the outer table layers around the calendar. No is useful when
including an Event Folder within a CMFOption Blark feature box.