Installation and setup
Open the extension manager and install the TYPO3 Adventcalendar extension in the usual way.
If you would like to use the Pro version, install it aswell and then open the extension settings of the main extension. Go to the Pro tab and set up the following:
- Competition-Report - Activate email report: This setting activates a report email which sends log data after the Competition CommandControllers have run.
- Competition-Report - Subject for email report: Here you can set a subject line for the report email. This is useful if you have many advent calendars.
- Compeition-Report - Address for email report: Here you can set the destination address for the report email.
- BCC for all emails: This setting is for debugging purposes. Every time an email is sent a BCC email is sent to this email address, as long as this setting contains a valid email address.
You can configure the update-check under the Extension tab:
- Enable extension update service: Activates/deactivates the update-check/information row.
- Display email address for support or extension request: Here you can set the email address that will be displayed on support and update requests.
You also need to set up the static templates:
Add the relevant static templates to your root template.
Statisches Template | Description |
---|---|
TYPO3 - Adventskalender (Base - required!) | Basic configuration of the Adventcalendar - ESSENTIAL! |
TYPO3 - Adventskalender (Use Page-Template) | Should be used if the advent calendar is to occupy a full page. Here, the advent calendar page should have its own root template |
TYPO3 - Adventskalender (Integrate Modernizr) | Should be used if Modernizr is to be integrated via CDN. If you have already integrated Modernizr then you do not need this entry. |
TYPO3 - Adventskalender (Integrate jQuery) | Should be used if jQuery is to be integrated via CDN. If you have already integrated jQuery you do not need this entry. |
TYPO3 - Adventskalender (Integrate jQuery-Fancybox) | Binds in the Fancy-Box that opens the doors. |
TYPO3 - Adventskalender (Integrate Bootstrap) | Should be used if Bootstrap 3 is to be integrated via CDN. If you have already included the Bootstrap CSS you do not need this entry. |
TYPO3 - Adventskalender (Pro: 1. Base - required!) | Should be used if you are using the Pro version. |
TYPO3 - Adventskalender (Pro: 2. Lottery) | Should be used if you want to use the pro version and provide a raffle in your advent calendar. |
Warning:
You might also need the
css_styled_content
andfluid_styled_content
static templates!
TypoScript settings
The following settings can be set though TypoScript:
Debugging
themes.configuration.extension.adventskalender.debug
Activates/deactivates debugging.
themes.configuration.extension.adventskalender.useMonth
Here you can set the month. Normally this would, of course, be December (12). If you want to set it up earlier for testing then you can simply set it to 11 (November) and test the whole month beforehand. auto sets it to the current month. But be careful - the Simulate day setting overwrites this setting.
Footer
themes.configuration.extension.adventskalender.showCopyrightNotices
Activates/deactivates the link to the copyright notice.
themes.configuration.extension.adventskalender.showPoweredBy
Activates/deactivates the Powered-By link to the advent calendar website.
Advent calendar pages
themes.configuration.pages.adventskalender.terms
Sets the page uid for the conditions of participation. If this is an external website simply create a page of type Link to external URL and assign the page uid.
themes.configuration.pages.adventskalender.privacy
Sets the page uid for the privacy policy page. If this is an external website simply create a page of type Link to external URL and assign it to the page uid.
Advent Calendar PRO features
themes.configuration.extension.adventskalender.showRegistration
Activates/deactivates the registration button.
themes.configuration.extension.adventskalender.showRegistrationAddress
Activates/deactivates the address that is used for registration.
themes.configuration.extension.adventskalender.showLogin
Activates/deactivates the login button.
themes.configuration.extension.adventskalender.showPasswordReset
Activates/deactivates the password reset button.
themes.configuration.extension.adventskalender.showReminderOption
Activates/deactivates the registration reminder option.
themes.configuration.extension.adventskalender.showPublishWinningOption
Activates/deactivates the winner publication option at registration.
themes.configuration.extension.adventskalender.showNewsletterSubscriptionOption
Activates/deactivates the newsletter sign-up option at registration
Themes
themes.configuration.extension.adventskalender.themeRootPath
Sets the relative path to the Advent Calendar themes.
Templates
themes.configuration.extension.adventskalender.view.templateRootPath
Sets the path to the fluid templates.
themes.configuration.extension.adventskalender.view.partialRootPath
Sets the path to the fluid partials.
themes.configuration.extension.adventskalender.view.layoutRootPath
Sets the path to the fluid layouts.