[TYPO3] typoscript: give hmenu as param to userfunction
Markus Lange
markus.lange at bgm-gmbh.de
Wed May 17 12:13:33 CEST 2006
Walter said:
> Hi,
>
> i want give from typoscript an object or object value to a custom
> userfunction.
>
> with this
>
> userFunc =user_test->main
> value < tt_content.menu.20.1
>
> i have in the custom userfunction a string "HMENU"
>
> but i need either:
> - the obj. hmenu or
> - the value of the obj. hmenu like (<a href="...)
>
> any suggestions? or links to a specific manual part?
>
> I tried to call methods on the param
>
> $conf["value"]->...
>
> but that doesnt work since its a string NOT the hmenu obj.
what about tslib/class.tslib_content.php
function cObjGetSingle($conf['value'],$conf['value.']);
--
Markus Lange
More information about the TYPO3-english
mailing list