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'];





Google
 
Web www.easy-office4you.de


    Sie sind hier:  
>
Home 
>
Typo3-Tipps 
>
Extensions 
>
Zusammenhang zwischen Constants, Setup, Extension
Home  |  Impressum  |  Kontakt