[TYPO3] Typo3 'Hide in menu' bug/feature?

Ernesto Baschny [cron IT] ernst at cron-it.de
Sat Mar 31 11:47:40 CEST 2007


Tom Bond wrote: on 30.03.2007 01:33:

> We are currently having a problem with the 'hide in menu' option for pages in Typo3.
>  
> We have a number of pages which we don't want to be shown in the menu, but can be linked to from other pages.  If it's of any relevance - these hidden pages all have php includes in them.
>  
> However we're getting an error when these pages are linked to - "Reason: Segment "programme-details" was not a keyword for a postVarSet as expected!" where "programme-details" is the name of the page being linked to (we are using the realURL extension).
>  
> These pages DO work, if we unhide them, view them, and then hide them again, but only until the Typo3 cache is cleared, and then the error appears (so what we assume is happening is that if the page isn't in the cache, it can't find it) - this process is really annoying!
>  
> Is anyone aware of any fixes for this problem, or able to advise us if we're doing something wrong?

You are probably not linking to the page using typolink (linking to the
ID of the page), but using the (real)URL directly?

As soon as typolink generates the link to that "not in menu" page,
RealUrl will generate its path for it. If you just link to the URL that
you think RealURL will generate, it won't be generated at that point,
and you might get "was not a keyword for a postVarSet".

Maybe that's the problem?

Cheers,
Ernesto


More information about the TYPO3-english mailing list