Loading...
 
Skip to main content

Features / Usability


using tree structures and toc

i have a main page that had one big tree structure which was great because all i needed to do was put a on the page and it would keep the structure.

Now that there are too many pages i want to break up into main smaller tree structure to look more organized.

Is it possible have a main page the does something like this





I still want to show all the pages down each tree but just not have them in one big list...

thks,
ak

In recent Tiki versions (not sure how recent, but in 1.9.7 this works) you can make a new module that has data like this:

{wikistructure id=1}

This will make a {toc} style list for the stucture that you specify the id for. I think this only works in a module, so to put it in a wiki page, you'll have to first make the module and then use the module plugin to put the module in the wikipage. I don't know if you can put the tag for more than one wikistructure id in a module, or if you'll have to make a separate modules for each structure. If you are using an older Tiki version, you'll probably have to update it first.

-- Gary

Thanks for the reply

I tried this and it returneed the results of my first Treestructure
{wikistructure id=1}

But i dont understand what i should put in the id tag - the Tree Structure name, the id (where would i see that)

IT seems no matter what i put in the id tag, i get back the tree structure of my first tree structure.

Any suggestions

thks,
ak

You can use the structure ids (numbers) as indicated on tiki-admin_structures.php. (There isn't an exact "wikistructure id" number, but each structure clearly has one number associated with it, as you can tell by hovering over the export/dump/delete links and looking at the URLs.)

(Edited to update after testing.)

-- Gary