Hi ??
The easiest way to do it would be to write a small itemArrayProcFunc for the 
menu, that filters out the menuitem with CUR state.
That way you don't need any optionSplits. ;)

--
Peter Klein / Umloud Untd.
"?????? ?????" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi list,
> I want to create menu like this:
> page1 | page2 | page4
> page3 is active.
>
> If page4 is active I want to have
> page1 | page2 | page3
>
> I have code:
> lib.relatedCategories = HMENU
> lib.relatedCategories {
>        special = directory
>        special.value = 7
>        wrap = <div class="links">|</div>
>        1 = TMENU
>        1 {
>            NO {
>                allWrap = |*|  |&nbsp;&#124;&nbsp; |*| |
>            }
>            ACT = 1
>            ACT {
>                doNotShowLink = 1
>            }
>        }
>    }
> }
> btw, 7 is pid for page with all these pages "page1-4"
>
> But it produces html
> page1 | page2 | page4
> when page3 is active.
>
> AND
>
> If page4 is active I have
> page1 | page2 | page3 |
>
> I understand that this is because there are 4 items in the list and my
> optionSplit  ( allWrap = |*|  |&nbsp;&#124;&nbsp; |*| | ) generating what 
> I
> told him to do, but this is not what I want :)
>
> Could you help me?
> Thanks.
> PS. I would be great if there was doNotUseItem in configuration of
> TMENUITEM(GMENUITEM...) states 


_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to