[Typo3-UG UK] access constants in typoscript

joachim j jorinck at gmail.com
Tue May 10 16:46:10 CEST 2005


hi list, 
i want to set a typoscript constant from within an extension so i called 
  *PHP:*   
<?php 
t3lib_extMgm::addTypoScript('tstat','constants',"s = .$sSprt"); 
?> 
 
   

i can see the that line in [FE][defaultTypoScript_constants] but i seem to 
have problems getting this onto my page. 

i tried typoscript like the following: 
  *Code:*  
page.20 = TEXT 
page.20.value = asdf asdf s {$s} 
  
and some variations. 

what am i doing wrong here?


http://typo3.tros.nl/forum/viewtopic.php?p=144#144

jo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-uk/attachments/20050510/6f59d604/attachment.html 


More information about the TYPO3-uk mailing list