http://www.typo3.orgPrilično dobar
zapravo, izuzetan što se mene tiče - mogućnosti ima kao u priči, a posebno mi se sviđa što ima svoj jezik - TypoScript.
TypoScript is a declarative language like HTML and Javascript used to configure extensions and the template engine.Evo recimo primjera kako se konfiguriše neki template:
Kod:
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = neki_fajl.html
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
DIV.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.content < styles.content.get
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
#active php
tt_content.script = CASE
tt_content.script {
key.field = select_key
code1 = PHP_SCRIPT_EXT
code1.file = fileadmin/template/skripta.php
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 < temp.mainTemplate
page.headerData.10 < temp.headTemplate
Dakle, što god nekom padne na pamet - TYPO3 može napraviti.