[TYPO3] menu - how to count and display included subpages?
Peter Klein
peter at umloud.dk
Wed Jan 4 23:18:30 CET 2006
Hi rene. The documentation on "cObject" can be found here. (its a property
of stdWrap):
http://typo3.org/documentation/document-library/doc_core_tsref/stdWrap/
What it does, is a passing the OUTPUT of the cObject to the calling object.
If you just did a "stdWrap = COA", then the text of all your menuitems
would just be "COA", instead of the correct output.
--
Peter Klein / Umloud Untd
"rene" <gnome2k at web.de> wrote in message
news:mailman.1.1136408439.26415.typo3-english at lists.netfielders.de...
> Peter Klein wrote:
>> Hi rene. If you change my example a bit it will work in TMENU too..
>>
>> Change "lib.test" to "stdWrap.cObject" and place the entire COA object
>> inside the "NO" part of your TMENU.. And drop the "page.30 < lib.test"
>>
>
> hello peter. thank you! it works great. is there any description why
> using this "cObject"? i thougt any object like TEXT or HTML are content
> objects but why i have to use it again?
>
> sorry for the stupid questions but i don't want to use someones scripts
> without understanding how and why it works.
More information about the TYPO3-english
mailing list