[TYPO3-english] hmenu: special directory - is it possible to show the parent page in the menu as well?!

Tyler Kraft tyler.kraft at netefficiency.co.uk
Thu Oct 1 13:28:13 CEST 2009


Hi,

Right and that is different than what you asked for previously. So when 
on horizonatal A or B display vertical menu B. Fine I'd suggest that you 
get it to all work fine when on horizontal B, and from what you've said 
it does. FYI for the vertical menu I'd use entryLevel

Then when on A simply change the menu slightly

[globalVar = TSFE:id= uid_of_A ]
SECONDMENU {
enrtyLevel>
special = list
special.value = uid_B
}
[global]

Does that solve it for you?


Daniel Rutzen wrote:
> THIS IS WHAT I WANT TO DO:
> 
> I have a horizontal MAINMENU  main A | main B | main C
> 
> I have a vertical SECONDMENU ("leftmenu") on the left, which shows the 
> title of the current main item, and below it displays the subpages of 
> the current main-page.
> 
> If "main A" was the current site, the LEFTMENU would show:
> 
>  >>main A  (which is also a link to 'main A' again)
> - subpage A1
> - subpage A2
> - subpage A3
> 
> 
> If "main B" was the current site, the LEFTMENU would show:
> 
>  >>main B  (which is also a link to 'main B' again)
> - subpage B1
> - subpage B2
> - subpage B3
> 
> 
> LEFTMENU's html output must be like this:
> 
> <ul id="leftmenu">
> 
>  <li><a href="main A.html">main A</a>
>  <ul>
>    <li><a href="subpage_A1.html">subpage A1</a>
>    <li><a href="subpage_A2.html">subpage A2</a>
>    <li><a href="subpage_A3.html">subpage A3</a>
>  </ul>
>  </li>
> 
> </ul><!-- end leftmenu -->
> 
> 
> To This point, it all works!!! that's not the issue.
> 
> Here's the kicker:
> 
> On Page "Main A" I want the leftmenu to display the pages
> corresponding to page "Main B".
> 
> So, "Main A" must show in the leftmenu
> 
>  >>main B  (which is also a link to the same page)
> - subpage B1
> - subpage B2
> - subpage B3


More information about the TYPO3-english mailing list