[TYPO3-english] Active Link in Menu When Viewing Home Page

ChandaCole chandacole at gmail.com
Thu Aug 2 05:05:05 CEST 2012


Hello Jan,

Since my last response I have got the Home link to show as active, just took
some playing with to figure out exactly where to set the value.  So, it is
now working with

globalMenu.alwaysActivePIDlist = 156

I am having trouble now with where to place the second line of code to
remove the always active link.  I have tried it at the globalMenu.1 level,
and also within globalMenu.1 states of NO and ACT, but the Home link remains
active regardless of the page I am viewing.

Thanks again for your help!
Chanda



Jan Bednarik wrote:
> 
> Hi Chanda,
> 
> the way I do it that I create shortcut to the root page labeled Home, so 
> it would appear in the menu. Then to make it active on the homepage, I add
> 
> alwaysActivePid = XXX
> 
> to the definition of the menu. And then I add template on next level, 
> where I remove it
> 
> alwaysActivePid >
> 
> It may not be the best way, but it works. Maybe someone will come up 
> with something better.
> 
> Regards
> 
> Jan
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Active-Link-in-Menu-When-Viewing-Home-Page-tp34238912p34243730.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list