[TYPO3] Setting a shortcut dynamicly

Bernd Wilke xoonsji02 at sneakemail.com
Mon Aug 21 19:58:43 CEST 2006


On Mon, 21 Aug 2006 13:43:40 +0200, PEF wrote
with subject "[TYPO3] Setting a shortcut dynamicly":

> 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.


have you seen the field "shortcut mode"?
One mode is: "first subpage"

As far as I got your problem it is the solution.
and don't enter anything in "shortcut to page".

Bernd
-- 
----------------
Bernd Wilke     
Annweilerstr.20 
40229 Düsseldorf
0211/229 2800



More information about the TYPO3-english mailing list