[Typo3] Using tscobj

Francois Suter fsuter at cobweb.ch
Mon Sep 5 16:03:47 CEST 2005


Hi,

>   lib.toto = HMENU
>   lib.toto {
>     special = browse
>     special.value.field = pid
>     special.items = next|prev
>     wrap = <p>|</p>
>   }

Nice try, but no, unfortunately. AFAICT the "field" property is not 
useable, because we are not in the right context. It has to be "data", 
i.e. a getText call. The problem is that special.value is not 
particularly documented in the TSRef. It just says that it can contain 
the id of a page, but I don't know if it's a stdWrap, hence if it can 
call on getText...

Thanks anyway, Next? :-)

Cheers

François Suter
Directeur technique
-----------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
-----------------------------------------------------



More information about the TYPO3-english mailing list