[TYPO3-templavoila] constants in Templavoila

redacted user redacted-user at example.org
Mon Feb 9 15:05:02 CET 2009


Hello Kai,

I'm trying this too, but did not succeeded.
I don't know if this is a bug of TV or not.

I followed the instructions over here:
http://wiki.typo3.org/index.php/TemplaVoila/FCE#TypoScript_Constants_in_Data_Structures


Example:

TS Field:
plugin.tx_templavoila_pi1.TSconst.con_test = 12345

DS:
<TypoScript>
         20 = TEXT
         20 {
		value = Linktxt
	        typolink {
		  parameter = {$TSconst.con_test}
         }
}
</TypoScript>


Output in href of link is:
http://{$TSconst.con_test}

:-(

Greetings, Boris


Kay Strobach schrieb:
> Hello together,
> 
> i do have a question:
> I wanna use constants, which are defined in a pagetemplate with 
> templaviola template typoscript.
> 
> usr_LOGO_FILE      = value
> 
> I found
> ##############################################################
> plugin.tx_templavoila_pi1.TSconst {
>     usr_LOGO_FILE      = value
>     usr_ICON_FILE      = value
>     usr_MENU_TOP       = value
>     usr_MENU_BOTTOM    = value
>     usr_BAND_TEXT      = value
>     usr_BAND_COLR      = value
>     usr_piwik_id       = value
>     usr_copyright_name = value
>     usr_copyright_url  = value
> }
> 
> as a possible solution.
> 
> And in TV use:
> {TSconst.usr_LOGO_FILE}
> 
> In the Installation there are many constants, to manage a large number 
> of domains. Is there any way to import the global constants to the TV 
> TYPOScript, without changing all the template records for every single 
> domain.
> 
> Thanks a lot.
> 
> Kay


More information about the TYPO3-project-templavoila mailing list