Loading...
 
Skip to main content

Features / Usability


How to set maximum depth of a structure in a module?

hi all,
I have a structure that looks like this:

Main
-FAQ
--Question 1
--Question 2
--Question 3
--Question 4
--Question 5
--Question 6
--Question 7
--Question 8
--Question 9
-Experiments
--Experiment 1
--Experiment 2
--Experiment 3
--Experiment 4

And I want to have a module that uses this structure but only showing this:

Main
-FAQ
-Experiments

I tried 'maxdepth' when creating the new module from the structure but it didn't work, the module displays the entire tree 😑

Thanks in advance


I forgot to say that I'm am using 1.10.0b1 version.

Sorry for double posting, I didn't know how to edit my last post


I forget to say that I'm am using 1.10.0b1 versión.

Sorry for double posting, I didn't know how to edit my last post


I am having a similiar issue, but 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. Is maxdepth supported in this version?

Thanks for your help.

~andrew parker