[TYPO3-dev] alwaysActivePIDlist

Peter Russ peter.russ at 4many.net
Mon Oct 23 15:20:33 CEST 2006


Christian Trabold schrieb:
[...]
> Here's a quick example / sketch which demonstrates this approach:
> 
> 
> *Example TypoScript-Setup*
> includeLibs.menufunc = your_php_script.php
> 
> 
>   10 = HMENU
>   10 {
>     1 = GMENU
>     1 {
>       itemArrayProcFunc = user_your_class->user_your_method
>       itemArrayProcFunc.value.stdWrap.data = leveluid : 1
> ...
> 
> 
> 
> *Example PHP-Script*
> class user_your_class {
>   function user_your_method($menuArr, $conf) {
>     $page_id = $this->cObj->stdWrap($conf['value.']['stdWrap.']['data'], 
> $conf['value.']['stdWrap.']);
> 
>     if($page_id == 1) {
>       $menuArr[$k]['ITEM_STATE'] = 'ACT';
>     }
>     return $menuArr;
>   }
> }
> 
> 
IMHO this doesn#t solve the problem.

Regs. Peter.
-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list