Hello all,
Currently, my CMS shows only <H1> folder headings on the vertical table of contents. Only when you click on a specific <H1> folder do the <H2> options appear.
Is it possible to change the TOC() or LI() functions such that <H1> and <H2> (and possibly <H3>) folders are always shown on the vertical table of contents?
Static Sublevels in Navigation
Re: Static Sublevels in Navigation
Hello,
you do not have to change toc() or li() for this purpose, you just have to call li() with two special parameters from the template:
Christoph
you do not have to change toc() or li() for this purpose, you just have to call li() with two special parameters from the template:
Code: Select all
<?php echo li($hc, 'menulevel');?>
Christoph M. Becker – Plugins for CMSimple_XH
Re: Static Sublevels in Navigation
That worked perfectly. Thanks so much to my friend in Germany!
Re: Static Sublevels in Navigation
Glad to hear.jtipton2 wrote:That worked perfectly.
You're welcome.jtipton2 wrote:Thanks so much to my friend in Germany!
And thank you for reminding me that this was not documented AFAIK. So now I've written an article about the TOC: http://www.cmsimple-xh.org/wiki/doku.php/toc.
Christoph M. Becker – Plugins for CMSimple_XH