This question about Using an extension: Answered

FoswikiTreeStructure

-- FahadOzair - 13 Oct 2017

Hi,

I have configured Foswiki 2.1.3 on Windows 10(64 bit). I have Perl 5, version - 24, subversion - 1 (ActiveState) Running on Apache/2.4.25 (Win 64).

I want to create Pages in the form of Tree structure in Foswiki (Parent - Child structure). Something like Windows Directory structure, wherein we can create Directory within that we can have n number of different files or Directories. Within Child Directory we can again have n number of different directories or files and so on an so forth. I noticed while browsing that this could be done using TreePlugin and TreeBrowserPlugin.

http://twiki.org/cgi-bin/view/Support.HowToEditWebTopicList

Since I am new to it, could someone please guide me how can I implement it. Also when I click on to the Index, I should be able to find the tree structure which I can navigate through.

-- FahadOzair - 17 Oct 2017

Was able to figure it out: For creating Parent-Child Topics: 1)Created First Topic. 2)While Creating Second Topic Selected First Topic in "Topic Parent". Similarly created the whole tree structure of the Parent - Child Topics.

Once done, installed below two plugins: https://foswiki.org/Extensions/TreeBrowserPlugin https://foswiki.org/Extensions/TreePlugin

Then in WebTopicList included below

%TREEBROWSER{ theme="file" shared="tree" title="" openTo="0" noroot="true" }% %TREE{ web="Support" formatting="outline" format=" * $topic" levelprefix=" " }%

Any Topic that has a child topic will be displayed as Directory and Topic that does not have any Child Topic will be displayed as File.

 

QuestionForm edit

Subject Using an extension
Extension TreePlugin
Version Foswiki 2.1.3
Status Answered
Related Topics
Topic revision: r2 - 17 Oct 2017, FahadOzair
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy