tiki-wiki

tiki-wiki: How to copy a structure into another Or how to duplicate a structure


I am new to tiki, I just learned about structures and I find them to be very useful and powerful. My requirement is to create a hierarchy of empty pages (essentially a hierarchy) and make users of the wiki to reuse that hierarchy while creating certain content. I find tiki structures to fit my needs of hierarchy perfectly. However, I can't find any way to duplicate a structure (so that users can have their own copy of it) and edit their own copy.

Is it possible in tiki and if so how?


Solution

  • You cannot have two wiki pages of the same name so you need to use prefixes or suffixes. You can make a dump of existing structure or XML zip and then copy paste the dump tree into new structure tree textarea or import the zip. Then add the prefix or suffix manually. It will be something like:

    My Structure
     Subpage 1
     Subpage 2
    

    Modify it to:

    user2 - My Structure
     user2 - Subpage 1
     user2 - Subpage 2