[TYPO3-german] statisches Template in eigener Extension
Widmann, Manfred
mpunktw at gmx.net
Fri Feb 20 11:28:50 CET 2009
Hi!
Hier ein Beispiel für ein static/setup.txt - da kann im prinzip alles
drinnen stehen, was du willst; der wesentlichste Unterschied zu einem
Typoscript-Code in einem Template ist der, dass er anders eingefügt wird
(eben als static include):
### Configure wm_contact
plugin.tx_wmcontact_pi1 {
# PageId where data comes from; default is current page
#dataPID = 64
# Location of template file
template = fileadmin/template/wm_contact/wm_contact_template.html
# Use Lightbox of Extension pmkslimbox or simple "On Click Enlarge"
mechanism
onClickLightbox = 0
# Contact pic formatting details; default is 100w, 0, 5,5
picture = IMAGE
picture {
file.maxW = 100w
border = 0
}
}
### Include CSS
page.includeCSS {
wm_contact = fileadmin/template/wm_contact/wm_contact_style.css
}
"Rainer Schleevoigt" <rainer at webmasterei-hamburg.de> schrieb im Newsbeitrag
news:mailman.43131.1235027768.2904.typo3-german at lists.netfielders.de...
> Moin,
>
> wie schon angedeutet möchte ich eigenes TS einbinden. Ich habe also im
> Extensionverzeichnis einen Folder "static" und dort eine Datei "setup.txt"
> angelegt.
>
> In der "ext_localconf.php" steht:
> t3lib_extMgm::addStaticFile($_EXTKEY,'static/','setup.txt');
>
> Leider ist das nicht wirksam. Habe ich da etwas übersehen?
>
> Rainer
More information about the TYPO3-german
mailing list