[TYPO3] Setting a shortcut dynamicly
PEF
xx at xx.xx
Sun Aug 27 22:42:59 CEST 2006
I'll look into it.
Thanks.
Peter
Tyler Kraft wrote:
> Well I would prob set up the menu to list both pages to start with. And
> then add the exclude statement and test excluding each page indivually
> to make sure that works.
>
> Then I would slowly start putting in the conditionals. I suspect from
> what you've said that the PIDinRootline (or matching sertian user groups
> if there are login states) might be the most useful one for you.
>
>
>
>
>
> PEF wrote:
>> Hi Tyler.
>>
>> This might do it! I just have to figure out how to do it the most
>> elegant way.
>>
>> Thanks
>> Peter
>>
>>
>>
>> Tyler Kraft wrote:
>>> set up two shortcut pages and using ts conditions just remove them
>>> from the dynamic menu using the HMENU excludeUID property
>>>
>>> hth
>>>
>>>
>>>
>>> PEF wrote:
>>>> Hi
>>>>
>>>> In my menu I have a shortcut that points to a subpage. On certain
>>>> conditions I want to points this shortcut to another subpage. The
>>>> reason for <this is, that when conditions are met, the first page
>>>> will be hidden. In state one both pages are visible.
>>>>
>>>> I've tried to change the shortcut through php, by setting the
>>>> shortcut parameter for this item in $menuArr. But without luck.
>>>>
>>>> Is it possible to change a shortcut dynamicaly? Or is there another
>>>> way of doing this, that I haven't been aware of?
>>>>
>>>> Shortcut
>>>> --- condition 1
>>>> --- condition 2
>>>>
>>>> Just in case.... I know that the problem would be solved by setting
>>>> the shortcut to the second page from the beginning. And this could
>>>> of course be the final solution.
>>>>
>>>> Bye
>>>> Pete
More information about the TYPO3-english
mailing list