Limiting maxdepth in wikistructure for a new module
Hello group:
I am having difficulty solving the issue as originally posted at http://tikiwiki.org/tiki-view_forum_thread.php?topics_offset=1&forumId=4&comments_parentId=28676 by carlosgf1.
Sorry for re-posting in a new thread but I really need to solve the maxdepth issue as my wiki will be part of my masters thesis.
I am trying to limit the TOC to a depth of two. For example
1.0 Heading One
1.1 subheading one
1.2 subheading two
2.0 Heading Two
...
When I use wikistructure to create a new module without any modifications, I get a TOC in a module that lists all levels, as expected
When I use
{wikistructure id=1}
I get the following error when previewing:
Fatal error: Smarty error: in evaluated template line 1: syntax error: unrecognized tag 'toc' (Smarty_Compiler.class.php, line 583) in /data/17/1/40/64/1366553/user/1465670/htdocs/mgiswiki/lib/smarty/libs/Smarty.class.php on line 1095
I am using Tikiwiki Version 1.9.7. On my structure home page, works as expected.
I also tried
{wikistructure id=1},
and
{wikistructure id=1}
Thanks for your help.
~andrew parker