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
--
ChengappaCB - 24 Dec 2007
Answer
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 ?

(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