0

In order to keep my Wiki pages categorized in FogBugz 7, I'd typically create a root page that was a simple outline of all the individual pages in the category. This was a bit of a pain because I had to update the list on the root page every time I added a new "sub-page."

Now with the new FogBugz 8 Page Hierarchy feature, I don't have to do this! Clicking on "Page Hierarchy" in the sidebar of my Wiki produces a nice list of all my pages.

Is there any way to make the "Page Hierarchy" view the default page that people see when they choose a Wiki from the dropdown menu (instead of the root page)?

Fog Creek Case FC2044006

flag

1 Answer

2

There's no way to configure this in FogBugz, but here's a BugMonkey script that will change all the links in the dropdown menu to point to the Wiki's Page Hierarchy view by default:

$('#wikiPopup a:not([href*=pgListWikis])').each(function () {
   var str = $(this).attr('href');
   var re = /[W][0-9]+/;   
   var result = re.exec(str);
   if (result.length > 0) {
     result = result[0].slice(1);
     $(this).attr('href', 'default.asp?pg=pgWikiView&ixWiki='+result+'&sView=page_hierarchy');
   }       
});

Add this to your site by installing the BugMonkey plugin and then navigating to Admin -> Site Configuration -> Set Site Javascript and CSS and paste the code above into the Javascript box.

link|flag

Your Answer

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