[TYPO3-german] template Title
Stefan Kladler
oe4skw at gmail.com
Tue Jan 24 08:05:06 CET 2017
in dem Typo3 soll ein Multidomain Setup entstehen.
Seitenbaum
domain.tdl
subdomain.domain.tdl
Template tilte = domain.tld
temp.custom=fileadmin/templates/domain.tld/layouts/default/custom.css
[globalVar = TSFE:page|layout = 1]
# layout:1
temp.custom=fileadmin/templates/domain.tld/layouts/1/custom.css
[global]
page=PAGE
page {
type=0
includeCSS{
bootstrap=fileadmin/bootstrap/css/bootstrap.css
custom<temp.custom
}
10=FLUIDTEMPLATE
10 {
file= fileadmin/templates/domain.tld/template.html
variables {
CONTENT < styles.content.get
}
}
Wenn ich jetzt das Template kopiere und den Template title auf
subdomain.domain.tld ändere soll das ganze so aussehen
template title = subdomain.domain.tld
temp.custom=fileadmin/templates/subdomain.domain.tld/layouts/default/custom.
css
[globalVar = TSFE:page|layout = 1]
# layout:1
temp.custom=fileadmin/templates/subdomain.domain.tld/layouts/1/custom.css
[global]
page=PAGE
page {
type=0
includeCSS{
bootstrap=fileadmin/bootstrap/css/bootstrap.css
custom<temp.custom
}
10=FLUIDTEMPLATE
10 {
file= fileadmin/templates/subdomain.domain.tld/template.html
variables {
CONTENT < styles.content.get
}
}
somit soll
10 {
file= fileadmin/templates/template_title
immer durch den aktuellen template title ersetzt werden. gibt es dafür eine
Variable oder muss ich jedes mal den Template title von Hand anpassen
More information about the TYPO3-german
mailing list