3

1

The new table of contents plugin for Wiki pages is nice, but not too useful in a Wiki that strives to keep the content of each article fairly "atomic". I am creating a new product spec in the FogBugz Wiki, where each article is either an introduction to a group of features or a feature description. there's not a lot of hierarchy in each article, but there is in the overall Wiki.

The ability to generate a table of contents with links to the entire wiki would be great.

The ability to insert (i.e. insert while serving) that table of contents into various articles would be better.

The ability to insert that table of contents and have it accordion close all but first level articles, automatically accordion open to show the current page and to highlight link to the current page as a "you are here" indicator would be sick/sweet/slick/cool/neato.

flag
What we do currently is maintain the table of contents in a separate page of the Wiki, and modify the Wiki templates and JavaScript in the BugMonkey plugin to show the table with every pageload. It's not ideal, because the table flashes with every refresh. I put a description of the solution here: fogbugz.stackexchange.com/questions/59/… – PJM Dec 12 2009 at 20:03

closed as no longer relevant by adambox♦♦ Mar 30 at 19:14

2 Answers

3

FogBugz 8 introduces a brand-new wiki editor, templates and a navigation structure which allows you to view the hierarchical structure of your wiki articles. See this blog post for details.

link|flag
this is very close to exactly what I wanted. It's well laid out and looks good too. The CK editor works the way I want it to. Thanks!! – PJM Oct 1 2010 at 20:29
I'm very glad to hear that! :) – adambox Oct 4 2010 at 13:31
1

I published a beta version of this plug-in on the FogBugz Plug-In Gallery. After I have gotten some feedback and added a few planned features I plan to submit it for approval for FBOD users.

Wiki Article Index Plugin

link|flag
I downloaded the plug in and it looks good - for a start :) thanks – PJM Jan 15 2010 at 14:45
1 
feedback: the ToC I'm maintaining manually is a numbered list created with CSS automatic counters. Since it's manual I can eaisly set the hierarchy, but an automatic "first come first serve" hierarchy might work: starting at the Home page, every link is at ToC level one - walk recursively through all pages putting each link in each page one level deeper than the parent - before following a link, make sure it's not already in the ToC. If this has to get run for every page load, I doubt that it would be useful; I'm not even sure if an algorithm that complex could be done in a plugin. – PJM Jan 15 2010 at 15:00
1 
It is now in FBOD and it is exactly what I was looking for. The wiki was kinda useless without it. Well done - thanks. – CADbloke Mar 8 2010 at 22:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.