DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Weekly Events¶
Created: | 2010-02-18T17:33:18 |
---|---|
Changed: | 2012-02-14T20:09:57 |
Classification: | t3leweeklyevents |
Description: | The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ---- |
Keywords: | events, appointments, calendar |
Author: | Sven Reuter |
Email: | t3le-extensions@t3le.de |
Info 4: | |
Language: | en, de |
Weekly Events - t3leweeklyevents
Weekly Events¶
Extension Key: t3leweeklyevents
Language: en, de
Keywords: events, appointments, calendar
Copyright 2011-2012, Sven Reuter, <t3le-extensions@t3le.de>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
`Introduction 3 <#__RefHeading__8181_85638380>`_
`Users manual 4 <#__RefHeading__8197_85638380>`_
`Administration 6 <#__RefHeading__8201_85638380>`_
`Configuration 7 <#__RefHeading__8205_85638380>`_
Use your own fluid templates 7
`Tutorial 8 <#__RefHeading__8211_85638380>`_
`Known problems 9 <#__RefHeading__8213_85638380>`_
`To-Do list 10 <#__RefHeading__8215_85638380>`_
`ChangeLog 11 <#__RefHeading__8217_85638380>`_
Introduction¶
What does it do?¶
This extension allows you to manage periodical, weekly events with multiple appointments. You can display them in event list, week view or a today's appointment view.
If you are a little familiar with fluid, you can easily customize the integrated views.
Screenshots¶
This is the today's view:
This is the week view:
In the backend you can easily manage events and appointments:
Users manual¶
Creating an event¶
First create a sys folder as storage folder. Then in list view you can add your first event. Therefore click “create new record”. Choose “event” and fill out required fields:
Creating appointments¶
You can manage events appointment inline at the bottom of the record. Appointments are stored automatically in the same sys folder.
Creating exception days¶
On exception days there are no events. The appointments of this day are skipped. Create an exception day on the same sys folder.
Administration¶
Create an own sys folder for storing extensions records. By adding these lines of code in your PageTSConfig of this sys folder the editor only can add events and exception days. Appointments are allowed only via an event:
mod.web_list.allowedNewTables = tx_t3leweeklyevents_domain_model_event, tx_t3leweeklyevents_domain_model_exceptionday
mod.web_list.hideTables = tx_t3leweeklyevents_domain_model_appointment
Keep in mind that there is a line break in first line of code.
Configuration¶
- install extensions via Extension Manager
- in your template include extensions static template: “Weekly Events (t3leweeklyevents)”
- go to constants editor, choose PLUGIN.TX_T3LEWEEKLYEVENTS (4) and set storage pid
- when you want to use your own fluid templates you can set the directories on this page
Use your own fluid templates¶
You can copy extensions templates from EXT:t3leweeklyevents/Resources/Private/. There are three directories you have to copy to your own location (mostly in fileadmin). There you can modify the templates. In constants editor set the new paths.
Reference¶
There is no complex TypoScript to write for this extension. Just set constants as described. You can overwrite language labels in your TypoScript Setup like this:
plugin.tx_mmorganization._LOCAL_LANG {
de {
label = new translation
}
}
Check t3leweeklyevents/Resources/Private/Language/locallang.xml for available labels.
Tutorial¶
- install extensions via Extension Manager
- create a sys folder for the events
- create some events and appointments (storage pid)
- in your template include extensions static template: “Weekly Events (t3leweeklyevents)”
- go to constants editor, choose PLUGIN.TX_T3LEWEEKLYEVENTS (4) and set storage pid
- go to the page where you want to display your events
- insert plugin and choose your favorite view
- that's it :-)
Known problems¶
None at the moment
To-Do list¶
Add view “upcoming events” - events from now on, fix number of events, respecting exception days