Loading...
 
Skip to main content

Features / Usability


Re: Re: Limiting maxdepth in wikistructure for a new module

Ok, this is very weird. In my post and your eromneg's reply, I did not see my code, I should have put it in a code box. Even setting it in quotes did not help.

This is my code for the wiki structure:

Image
Copy to clipboard
{wikistructure id=1} {toc maxdepth=2}


Which produces the error:

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

FYI: when I got an auto email from the forum, eromneg's reply contained the code.

Thanks for the help.

andrew parker