[TYPO3-english] Section Menu of Current page using Typoscript

Walrick lists at globalhealingcircle.net
Tue May 5 16:47:04 CEST 2009


Hello,

I'm getting a bit frustrated here.

I'm trying to get a simple section index to work using HMENU and
sectionIndex = 1.

But I can't figure out why it's not working.

My current code:
temp.PreContent = HMENU
temp.PreContent {
	1 = TMENU
	1 {
	wrap = <ol class="csc-menu csc-menu-7">|</ol>
	sectionIndex = 1
	sectionIndex.type = header
	expAll = 1
	NO.allWrap = <li>|</li>
	}
}

I believe I had it working earlier today, but at that moment I was
actually trying to get a menu of subpages with sections so I changed the
code. And now I can't get the simple sectionindex of the current page to
work. sectionIndex itself is working in order contexts, as I use it for
the subpages menu as well.

I just don't see why the code above doesn't work. I'm probably missing
something simple.

I know there are other ways of creating such and index using CONTENT,
but that's not what I'm trying to do at the moment.

Thanks for any help.

Regards,

Walrick

-- 
webmaster Global Healing Circle
www.globalhealingcircle.net


More information about the TYPO3-english mailing list