themes #t3dd13
TRANSCRIPT
Themes in TYPO3?!
Montag, 8. Juli 13
Why?
Good for getting
started
Provide solutions for typical layouts Show best practices
Store Themes in
Extensionseasy maintainable by replacing some files
Easy to use
Montag, 8. Juli 13
Why?
Good for getting started
Provide solutions for typical layouts
Show best practices
Store Themes in Extensions
easy maintainable by replacing some files
Easy to use
Montag, 8. Juli 13
Why?
Good for getting startedProvide solutions for
typical layoutsShow best practicesStore Themes in
Extensionseasy maintainable by replacing some filesEasy to use
let the community grow by lowering the barrier
less boring work for developers
Montag, 8. Juli 13
Other CMS Systems are extremly successful by providing easy to use
themes.
Montag, 8. Juli 13
WordpressMontag, 8. Juli 13
DrupalMontag, 8. Juli 13
TYPO3?Montag, 8. Juli 13
TYPO3!Montag, 8. Juli 13
TYPO3!Montag, 8. Juli 13
TYPO3!Montag, 8. Juli 13
Goals of the workshop
Montag, 8. Juli 13
• Development of a TYPO3-Template-Standard
• Discuss usability and compatibility of theming for TYPO3 CMS & TYPO3 Neos
• Discuss and decide how to deploy templates
Goals of the workshop
Montag, 8. Juli 13
What do you expect from a „theme“?
Montag, 8. Juli 13
Montag, 8. Juli 13
Standardization
Montag, 8. Juli 13
Standardization ideas
• use neos package structure?
• use extbase extension structure?
• provide some more information in special files?
Montag, 8. Juli 13
example structureMontag, 8. Juli 13
Collecting data about a theme
• can be done from ext_emconf.php
• can be done like in NEOS with a file called ext:theme_name/Meta/theme.yaml
Montag, 8. Juli 13
Technical IdeaExt:THEMES
Montag, 8. Juli 13
Theme registers in theme repository
theme can be selected in
sys_template
TypoScript, Constants and
PageTS get included
Theme Registration
Montag, 8. Juli 13
Sys-Template with selected theme from Ext:THEMES
Extension Templates
StaticTemplates
Hook, which includes TypoScript based on value in sys_template.tx_themes_theme
news, dialog, fluidcontent, ...
Theme Rendering
Montag, 8. Juli 13
Sys-Template with selected theme from Ext:THEMES
Extension Templates
StaticTemplates
Hook, which includes TypoScript based on value in sys_template.tx_themes_theme
news, dialog, fluidcontent, ...
Theme Rendering
PageTSUntil 6.2 use an XClass to inject PageTSSince 6.2 use a hook to include PageTS
Montag, 8. Juli 13
Sys-Template with selected theme from Ext:THEMES
Extension Templates
StaticTemplates
Hook, which includes TypoScript based on value in sys_template.tx_themes_theme
news, dialog, fluidcontent, ...
Theme Rendering
PageTSUntil 6.2 use an XClass to inject PageTSSince 6.2 use a hook to include PageTSBE
FE
Montag, 8. Juli 13
Theme Registration
• can be done in various ways
• theme registry class with adapters
• extension dependencies
• extension naming scheme
• pure TS is silly, because of the overhead if you would provide many themes in one installation
Montag, 8. Juli 13
Theme Registration
• can be done in various ways
• theme registry class with adapters
• extension dependencies
• extension naming scheme
• pure TS is silly, because of the overhead if you would provide many themes in one installation
Montag, 8. Juli 13
Content Elements
Montag, 8. Juli 13
gridelements
templavoila
fluidcontent
dce
NEOS cce
Montag, 8. Juli 13
gridelements
templavoila
fluidcontent
dce
NEOS cce
Montag, 8. Juli 13