Tags:
create new tag
, view all tags

Question

I just tried to upgrade to Twiki 4.2 - everything seems to be OK so far - but...

I had inserted:

%INCLUDE{"%SYSTEMWEB%.HierarchicalNavigation" section="all"}%

into my sidebar. Now the structured list does not seem to work any longer. I always get:

 IF{ "" else="" then=" * [[TWiki.][]]" }: Empty expression

    * WebHome 

instead of the child topic list.

Does anybody know why this might happen?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Centos 5
Web server: Apache
Perl version: 5.6.1
Client OS: Windows XP
Web Browser: Firefox and iExplorer 7
Categories: Search

-- HaraldLipke - 28 Feb 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Did you edit this with RAW or wysiwyg. 4.2 switches to the wysiwyg editor by default. Did you try re-editing in raw?

-- JosephTrexler - 29 Feb 2008

Yes - I tried it both ways. I even did a clean Install in a virtual machine and then only inserted the above line with raw edit. It happened again. I thought I might have made a mistake because HierarchichalNavigation in the personal sidebar is such a nice feature I think and so more people should face the same problem... But I really cannot find anything I might have done wrong during installation - and - btw. everything else works fine. Any help would be very much appreciated.

-- HaraldLipke - 01 Mar 2008

I can confirm the bug. Tracked in Bugs:Item5405. And fixed.

If you want to use this before the next update of TWiki, copy these lines to the topic (replace existing STARTSECTION..ENDSECTIONs):

%STARTSECTION{name="all"}%<div class="twikiHierarchicalNavigation">
<ul>
%SEARCH{
"parent"
type="query"
topic="%BASETOPIC%"
web="%BASEWEB%"
nonoise="on"
format="<li class='twikiParentTopic'><img src='%ICONURL{parent_gray}%' width='16' height='16' alt='' border='0' /> [[$web.$parent][$parent]]</li>"
}%
<li class='twikiCurrentTopic' style='font-weight:bold;'><nop>%BASETOPIC%</li>%INCLUDE{"%TOPIC%" section="childlist"}%
</ul>
</div><!--/twikiHierarchicalNavigation-->%ENDSECTION{name="all"}%

%STARTSECTION{name="children"}%<div class="twikiHierarchicalNavigation">
<ul>%INCLUDE{"%TOPIC%" section="childlist"}%</ul>
</div><!--/twikiHierarchicalNavigation-->%ENDSECTION{name="children"}%</div>%ENDSECTION{name="children"}%

%STARTSECTION{name="childlist"}%%SEARCH{
"parent.name='%BASETOPIC%'"
web="%BASEWEB%"
type="query"
nonoise="on"
format="<li class='childTopic'><img src='%ICONURL{line_ur_gray}%' width='16' height='16' alt='' border='0' /> [[$web.$topic][$topic]]</li>"
}%%ENDSECTION{name="childlist"}%

I have used 2 new graphics, added to this topic. You can attach these to your TWiki.TWikiDocGraphics topic.

-- ArthurClemens - 01 Mar 2008

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
GIFgif line_ur_gray.gif manage 0.1 K 2008-03-01 - 23:05 ArthurClemens  
GIFgif parent_gray.gif manage 0.1 K 2008-03-01 - 23:06 ArthurClemens  
Topic revision: r5 - 2008-03-01 - ArthurClemens
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.