[Typo3] collapse to the page what it was rather than frontpage?

Bing Du du_bing at hotmail.com
Thu Oct 13 21:34:54 CEST 2005


Hi,

collapse = 1 is set in the template.  Expanded menu can collapse fine. 
But the problem is they all show the frontpage after collapsing.  They 
should show their own page after collapsing.  For instance,

page1
page2
   -subpage21
      --subpage211
   -subpage22

Assuming page2 is expanded.  Clicking page2 should collapse the menu and 
at the same time should show page2 itself.  But it shows the frontpage. 
   Looking more, the pattern seems to be collapsing shows parent page. 
So collapsing subpage21 above shows page2 rather than subpage21 itself. 
  Is this expected behaviour as designed?  Anyway to show the collapsed 
page itself?

Thanks in advance for any ideas.  Menu code follows.

====
temp.nav = HMENU
temp.nav.special = directory
temp.nav.special.value = 654

temp.nav.wrap = <ul>|</ul>

temp.nav.1 = TMENU
temp.nav.1 {
	expAll = 0
         collapse = 1

	NO {
                 doNotLinkIt = 0
	        allWrap = <li>|<ul>
                 linkWrap = |
                 wrapItemAndSub = |</ul></li>
                 ATagParams = onfocus="blurLink(this);" onclick="return 
toggleSubmenu(this);"
          }

	ACT = 1
	#ACT < .NO
         ACT.doNotLinkIt = 0
         ACT.allWrap = <li>|<ul>
         ACT.linkWrap = |
         ACT.wrapItemAndSub = |</ul></li>
         ACT.ATagParams = onfocus="blurLink(this);" onclick="return 
toggleSubmenu(this);" class="selected"
}

temp.nav.2 < .temp.nav.1
temp.nav.3 < .temp.nav.1
temp.nav.4 < .temp.nav.1
temp.nav.5 < .temp.nav.1
====

Bing



More information about the TYPO3-english mailing list