[TYPO3-english] Section Menu of Current page using Typoscript
Rupert Germann
rupi at gmx.li
Tue May 5 22:31:36 CEST 2009
hi
your TS works.
Are you shure that there's at least one Content element with a visible and
non-empty header on the page where you try to diplay the section index?
greets
rupert
Walrick wrote:
> 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
>
More information about the TYPO3-english
mailing list