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

2012-08-05 Thread Jan Bednarik
Ho Loek, over the page tree. It also avoids the additional realurl issues and you don't have that double home page. with CoolUri I don't have any problem like that. When I have a shortcut to root, the URL is just the domain, so no duplicates ;) Jan

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

2012-08-05 Thread ChandaCole
Hello Loek, I tried both options and was successful with the approach in the link you provided. It took some playing around with to get the correct wrapping of css for the prepended item so that it would display in line with the existing menu correctly, but that was just part of my learning

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

2012-08-04 Thread Jan Bednarik
Hi Chanda, you need to create an extension template on the root page and in the root template set it as Template on next level. In this extension template, place only 1 line of code into Setup: globalMenu.alwaysActivePIDlist And that's it. If you create this extension template via List

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

2012-08-04 Thread Loek Hilgersom
Hi Chanda and Jan, There is also a different approach: remove the shortcut page 'home' entirely and prepend a link to the site-root home page to the menu. Some examples: globalMenu { stdWrap.preCObject = TEXT stdWrap.preCObject {

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

2012-08-01 Thread Jan Bednarik
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

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

2012-08-01 Thread ChandaCole
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

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

2012-07-31 Thread ChandaCole
Hello, I am just getting started in Typo3 with my first site and am looking for some help on what I hope is a fairly simple issue. From what I can tell, the site root is not included in my top-level menu, only those pages below it in the page tree are displayed. While I understand that having a