HTML Template for sk_calendar
Markers
Please note: the are 2 different general markers types:
- label markers:
- label markers follow the form ###LABEL_xxx#### where xxx represents a label from pi1/locallang.php. These labels may be translated to other TYPO3 system languages and thus are rendered in the appropriate language.
- field markers are markers that render fields from the corresponding database tables. The syntax of a valid field marker is ###X_yyy###, where X is one of the following uppercase letters
- E for event
- C for category
- O for organizer
- T for targetgroup
- L for location
and yyy represents the actdata field of the given database table. Since the tables differ, here is a list of valid marker fields
- E_: title, description, date, start_time, end_time, wholeday, link, cost, highlite, pages, category, organizer, targetgroup, location, recurr_until
- C_: title, icon, color
- O_: name, logo, link, phone, email
- T_: title, icon
- L_: name, link, street, zip, city
Example: ###E_title### gives you the event title whereas ###C_color### renders the color of
the corresponding category.
Extending VCE
You can define your own PHP functions by extending class.tx_skcalendar_overrideTF.php. Using
###MYFUNCTION### will try to call a function templatefunc_myfunction(). If it isn't there nothing
happens, otherwise the result of this function is returned to the template.
Overriding standard functions
Defining a function templatefunc_E_title() would override the return of the standard
event title function and print out whatever your function returns. Please have a look at class.tx_skcalendar_defaultTF.php for examples.
Put your override-class in uploads/sk_calendar or somewhere in fileadmin to not loose your
private functions after an update of sk_calendar.
Have fun and return your comments to: skcalendar@sitekick.de.
###WRAPIT###
###E_TITLE###
###E_description###
- Datum
- ###E_date###
- Uhrzeit
- ###E_start_time### ###E_end_time###
- Ort
-
###L_title###
###L_street###
###L_zip### ###L_city###
- Veranstalter
- ###O_name###
Zurück
###DETAILLINK###
| ###ACTDATE### ###WRAPIT### |
|
###LABEL_no_entries### |
|
###BACKLINK### | ###NEXTLINK### |
|
###E_date### | | ###DETAILLINK### | | ###O_name### | | ###L_title### | | ###C_title### |
|
###BACKLINK### | ###NEXTLINK### |
|
|
|
###DETAILLINK###
###E_date###
###LABEL_archive_make_selection###
###LABEL_no_entries### |
###DETAILLINK###
###DAYNAME###
|
###WEEKNO### |
###WRAPIT###
Clubkalender für ###MONTHNAME### ###YEAR###
|
Mo |
Di |
Mi |
Do |
Fr |
Sa |
So |
###WRAPIT###
###BACKLINK###
###BACKLINKYEAR###
###NEXTLINK###
###NEXTLINKYEAR###
###WRAPIT###