[TYPO3-english] HMENU as if on other page

Loek Hilgersom hilgersom at xs4all.nl
Fri Jul 17 14:39:52 CEST 2009


Rudy Gnodde (WIND Internet) wrote:
> If you click on the link while you're on a page that's in the following 
> rootline "Page 1 > Page 1.1 > Page 1.1.1" the main menu should have 
> "Page 1" as current, the submenu should have "Page 1.1" as active (and 
> expanded) and "Page 1.1.1" as current.

Ok, that clarifies it.
What about the following solution: by clicking the special link you won't 
actually leave the page, you only set a GET parameter e.g. 'speciallink=1' which 
makes the content change. Something like this:

[globalVar = GP:speciallink > 0]
lib.maincontent >
lib.maincontent < lib.specialpage
[global]

All menu's remain the same.

Hth,
Loek


More information about the TYPO3-english mailing list