I'm newbie at TYPO3, trying to install my custom template.
I have HTML/CSS/IMAGES files, but can't find how to implement it.
Find file /fileadmin/default/templates/typo3-intro-template.html changes on it affects on site. But I can't understand how to use it to show dynamic content.
When I add this:
page = PAGE
page.typeNum = 0
#page.10 = USER
page.10 = TEXT
#page.10.userFunc = tx_templavoila_pi1->main_page
page.10.value = Hello world
to page Setup , got Hello world, but without design.
Is there any way to add something like:
page.10.template = /fileadmin/default/templates/tmy-file.html
?
There are tons of manuals for Typo3. There are 2 choices with templating. Either with Templavoila or with Autoparser. Autoparser is completley scripted and Templavoila uses a graphical interface.
Here's an overview of setting up a site with TemplaVoila: http://webdevelopers.thedemo.ca/
We'll move to fluid in the future, but for now this method is tried and true, and not going anywhere for a while.
I don't like the way fluid uses inline syntax either.
config {
baseURL = http://www.bla.com/
prefixLocalAnchors = all
meaningfulTempFilePrefix=1
doctype=xhtml_trans
htmlTag_langKey=de
remove_defaultJS=external
inlineStyle2TempFile=1
disablePrefixComment = 1
linkVars=L
sys_language_uid=0
language=en
locale_all = en_EN.UTF-8
xmlprologue = none
}
page = PAGE
page.typeNum = 0
page.bodyTag=<body>
page.10=TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/templates/template.html
workOnSubpart = DOCUMENT
subparts {
CONTENT=COA
CONTENT.10<styles.content.get
}
}
template file:
<!-- ###DOCUMENT### -->
<!-- ###CONTENT### -->CONTENT<!-- ###CONTENT### -->
<!-- ###DOCUMENT### -->
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.