[TYPO3-UG Italy] Parametri typoscript

Stefano Cecere scecere at krur.com
Wed Nov 28 14:37:52 CET 2012


quel {$temp.somma} vale solo per le costanti! (ovvero se tu avessi 
definito temp.somma come costante

forse devi usare i registri.. oppure i maghi di TYPOSCRIPT presto 
arriveranno in tuo soccorso :)


On 28/11/12 13:07, Andrea Marsico wrote:
> Ciao a tutti,
>
> Potete aiutarmi, riporto il seguente codice TS:
>
> temp.somma = TEXT
> temp.somma.stdWrap = 1
> temp.somma.stdWrap.dataWrap = {GPvar:user_100ind_pi1|uid_categoria}+19
> temp.somma.prioriCalc = intval
>
> lib.menutop = HMENU
> lib.menutop.special = list
> lib.menutop.special.value = 3
>
>
> lib.menutop.stdWrap.dataWrap = <ul>| <img src="fileadmin/templates/images/en.png" border="0" usemap="#lang"><map name="lang" id="lang"><area shape="rect" coords="0,0,25,13" href="http://miosito.it/" title="ITA"/><area shape="rect" coords="27,0,61,13" href="http://miositoen.it/index.php?id=56&user_100ind_pi1[uid_categoria]={$temp.somma}" title="ENG"/></map></ul>
>
>
> praticamente in temp.somma mi serve aggiungere 19 al parametro della url (lo fa) e metterlo poi nel dataWrap {$temp.somma} (ma non lo fa).
>
> Grazie
>
> Andrea
>


-- 

-- --- ----- -------

Stefano Cecere
KRUR studio - http://krur.com


More information about the TYPO3-UG-Italy mailing list