Events Module

   Events Module

Information about structure of Exponent Events Module developed by Fishcakes for Cubitt Artists. For information about using this module, see the Events Module User Guide.

About Events Module
A module for displaying a list of Events on a home page, current page, upcoming page and archive page.
 * Developed by Dan Salmon, October 2007.

Module Folder

 * — contains files as indicated below.

Definitions

 * — creates database table of XXX fields with configuration settings for the module.
 * — creates database table of XXX fields with setting for individual Events.
 * — creates database table of 1 field.

Datatypes

 * — field input definitions for module configuration.
 * — field input definitions for Events.

Class

 * — class definition.
 * — list of dependencies.
 * — list of files.

Actions

 * — delete Event.
 * — edit Event.
 * — save Event.
 * — view Event.
 * — view all Events.
 * — view expired Event.

Views

 * — default view.
 * — tbd.
 * — tbd.
 * — tbd.
 * — tbd.
 * — tbd.
 * — tbd.
 * — tbd.
 * — tbd.

Subsystem Files Datatypes

 * — text (English US) used by datatypes template.
 * — text (English US) used by datatypes template.

Subsystem Files Module Views
Text files (English US) used by views templates:

Javascript Files

 * tbd

Tutorial Files

 * — tutorial page with module User Guide.
 * — css style sheet.
 * — images for tutorial.

Configuration Fields

 * id — (id) — module id.
 * location_data — (string 200) — module location data.
 * SORT
 * item_limit — (id) — [numeric, default 10]
 * sortorder — (id) — acending/desending
 * sortfield — (id) — posted date/published date - add curators/artists
 * aggregate — (id) — combind all Events feeds
 * RSS
 * enable_rss — (id) — [tick]
 * feed_title — (id) — [input box]
 * feed_desc — (id) — [text box]
 * TAGS
 * enable_tags — (id) — [tick]
 * collections — (id) — ????
 * group_by_tags — (id) — ????
 * show_tags — (id) — ????

Map Fields

 * id — (id) — module id.
 * location_data — (string 200) — module location.
 * file_id — (id) — file id.
 * rank — (integer) — rank allows maps to be moved up and down page.


 * name — (string 200) — map title.
 * map_link — (string 500) — url link to display Google Map.
 * map_width — (integer) — map width.
 * map_height — (integer) — map height.
 * map_width_perc — (boolean) — display map width by percent.
 * map_height_perc — (boolean) — display map height by percent (currently unused).
 * map_controls — (string 10) — map controls (pan, zoom, type, scale, overlay) on/off.
 * map_markers — (string 9) — turn Google Search markers on/off (Personal Markers are not affected).
 * body — (string 5000) — text box to display (don't display if empty).
 * notes — (string 5000) — notes, display on edit page only.

Subsystems
Dropdown lists used by datatype files for Module configuration and Map configuration.

Curator's List
Used to select the Curator's of each event:
 * Subsystem —
 * Datatype List —

Values:
 * tbd

Revisions
Not yet implemented.

Search
Not yet implemented.

Tags & Wizards
Not yet implemented.

Workflow
Not yet implemented.

Code Corrections
Necessary code changes required to fix bugs.

Code Modifications
Optional code changes which extend functionality.

Switch Off HTML Editor for Map Description field
To have a simple text field for your map description (body field) rather than using the HTML Editor. Edit file.

Remove the  from line 79: // $form->register('body',$i18n['input_body'],new texteditorcontrol($object->body,6,false,5000));

Add the  to line 80 (or delete the line): $form->register('body',$i18n['input_body'],new htmleditorcontrol($object->body));

Events Module See Also

 * tbd