This question about Using an extension: Asked

Disable hyperlink for Parent Topic

-- FahadOzair - 05 Nov 2017

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).

Have installed TreePlugin and TreeBrowserPlugin and I am displaying my Index in tree structure format.I have used below code.

%TREEBROWSER{
theme="file"
shared="tree"
title=""
openTo="0"
noroot="true"
}%
%TREE{
web="Support"
topic="MyRootTopic"
formatting="outline"
format=" * [[$web.$topic][$percntSPACEOUT{$topic}$percnt][NewWin:600x500|Name:winMacros|Skin:plain]]"
levelprefix=" "
}%

Currently when the tree structure is getting displayed, even for the parent topic which is getting displayed as folder I am getting hyperlink to it. I just want to have hyperlink for the Leaf node Topics(Displayed as File and not folder). Could someone please suggest me how can I implement it.

 

QuestionForm edit

Subject Using an extension
Extension TreeBrowserPlugin
Version Foswiki 2.1.3
Status Asked
Related Topics
I Attachment Action Size Date Who Comment
Directory_Url.pngpng Directory_Url.png manage 2 K 05 Nov 2017 - 05:15 FahadOzair  
Topic revision: r1 - 05 Nov 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