3215 Posts in 848 Topics by 811 members
|Go to End|
10 February 2012 at 12:10pm
I have a site built with six top level pages. Each page uses a different controller to facilitate different functionality (one page is a Blog module). In the navigation for this page, I'm using LinkOrSection to detect if the page is current so that I can highlight a nav item for that page. The problem I'm getting, however, is that it isn't working for one of these pages. The page is nothing special, but when directed to the page, the LinkOrSection results as link. Is there something I should be checking or looking for in order to figure out why this isn't working?
10 February 2012 at 10:50pm Last edited: 10 February 2012 11:56pm
The css class 'section' will be parsed only if the current page is a child of the your page.
Edit: This is wrong. Section should be parsed no matter if or not the actual page is a current one. Sorry.
You might wanna use $LinkingMode instead. It will return link, current or section.
10 February 2012 at 11:24pm
The page in question is a top level page, which is why it's so odd.
|Go to Top|