[TYPO3-templavoila] using userFunc inside DS
Martin Rebetez
martin at rebetez.com
Sun Jul 5 17:37:21 CEST 2009
Hi,
I'm trying to use a userFunc inside a DS for a FCE.
I tried following code:
<field_inscrit type="array">
<tx_templavoila type="array">
<title>Inscrits</title>
<description></description>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>none</eType>
<TypoScript><![CDATA[
includeLibs.participantFunc = fileadmin/script/participantFunc.inc
temp.info = USER
temp.info {
userFunc =user_participantFunc->main
value=atest
color=#11FAAA
}
20 = TEXT
20.value < temp.info
]]></TypoScript>
<tags>div:inner</tags>
</tx_templavoila>
</field_inscrit>
The displayed code is then 'USER' and not my expected value from my
function...
Can you help me to understand my mistake ?
Thanks in advance
MR
More information about the TYPO3-project-templavoila
mailing list