Tags:
create new tag
view all tags

Question

Using TabbedNavigationAddOn, I have created two pages: TestTopic1 and TestTopic1Comments. I have put the following line at the beginning of both pages:

%CALC{$SET(tabs, TestTopic1:Topic, TestTopic1Comments:Comments)}%
%INCLUDE{TWiki.TabbedNavigationInclude}%

so that users can switch between the Topic and Comments using the tabs (like how it is done on Wikipedia). When I click 'Comments' tab on the TestTopic1, it takes me to the TestTopic1Comments page. But on the TestTopic1Comments page, both the tabs get highligted and clicking the 'Topic' tab does not take me back to the TestTopic1 page.

If I create 3 pages (TestTopic1, TestTopic1Comments and TestTopic1Rating) and use use three tabs with (by putting the following lines in the beginning of all the three pages):

%CALC{$SET(tabs, TestTopic1:Topic, TestTopic1Comments:Comments, TestTopic1Rating:Rating)}%
%INCLUDE{TWiki.TabbedNavigationInclude}%

I am able to switch between the Comments and Rating but not to Topic from either Comment or Rating. The Topic tab remains highlighted in both TestTopic1Comments and TestTopic1Rating.

Can you please suggest ?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: CommentPlugin, CompareRevisionsAddonPlugin, EditTablePlugin, HistoryPlugin, RevCommentPlugin, SectionalEditPlugin, SmartEditPlugin, SmiliesPlugin, SpreadSheetPlugin, TwistyPlugin
Server OS: Windows 2000
Web server: Apache 1.3.39
Perl version: 5.008008 (cygwin)
Client OS: Windows XP
Web Browser: IE 6
Categories: Add-Ons

-- ChengappaCB - 24 Dec 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I believe the addon doesn't like the fact that one topic name is a complete subset of the others (I haven't checked). Try renaming the first page to TestTopic1Home.

-- PankajPant - 24 Dec 2007

You are right ! When I change the TestTopic1 to TestTopic1home, it works perfectly. That is:

%CALC{$SET(tabs, TestTopic1home:Topic, TestTopic1Comments:Comments, TestTopic1Rating:Rating)}%
%INCLUDE{TWiki.TabbedNavigationInclude}%

on all the three pages works fine.

This will do for now. Can I credit myself of reporting a bug ? smile (and hope that it gets rectified in the next version ?)

-- ChengappaCB - 24 Dec 2007

Feel free to file a bug report in TabbedNavigationAddOnDev.

-- PeterThoeny - 31 Dec 2007

This has been solved. See TabbedNavigationAddOnDev

-- ChengappaCB - 24 Aug 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-08-24 - ChengappaCB
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.