Typo3 - TypoScript: Unterschied zwischen den Versionen
Aus Wikizone
| Zeile 13: | Zeile 13: | ||
[[TypoScript - Content Objekte (cObjects)]] | [[TypoScript - Content Objekte (cObjects)]] | ||
| + | |||
| + | [[TypoScript - Top-Level-Objekte (TLO)]] | ||
== Zusammenhang zwischen Constants, Setup, Extension == | == Zusammenhang zwischen Constants, Setup, Extension == | ||
Version vom 28. März 2007, 13:21 Uhr
Interne Links
[TypoScript Referenz von Typo3.net]
TypoScript - globale Variablen
TypoScript - Errors and warnings im Object Browser
TypoScript - Content Objekte (cObjects)
TypoScript - Top-Level-Objekte (TLO)
Zusammenhang zwischen Constants, Setup, Extension
Hier wird anhand eines kleinen Beispiels erläutert, wie man Konstanten im Setup verwendet und in der Extension als Variable weiterverwerbeitet.
In Typoscript Constants
#cat=ho_Test; type=string; label=Mein Text ho_Test.Text1 = Das ist ein Test
In Typoscript Setup
plugin.tx_hoTest_pi1.test1 = {$ho_Test.Text1}
In der Extension in Datei ho_Test/pi1/class.tx_hoTest_pi1.php
$Ergebnis=$conf['test1'];