Topic on Extension talk:CategoryTree

Problems Adding Tree to Sidebar

1
Johnywhy (talkcontribs)

Doc says

> "to drop your own wikitext article into the Sidebar, and then add CategoryTree items to it...."

  • What does that mean? What "article"? i thought we're talking about a tree. Do they mean a link to an article?
  • What does "add items" mean? I thought the point of the tree is that all items are automatically added.

> If you want the CategoryTree on a different position in the sidebar, you can reference it on MediaWiki::Sidebar as "categorytree-portlet"

  • tried that. It just gave me a link to a non-existent page called "Categories".

> To append a link "CategoryTree" to your toolbox (sidebar) add following code to the javascript-page...

  • Huh? All that javascript just for a link to category tree? But i want the whole tree.

> Add these lines to LocalSettings.php:

  1. > $wgCategoryTreeSidebarRoot = 'Category:article_name';
  2. > $wgCategoryTreeForceHeaders = true;
  • Again-- unclear. What's the point of a tree, if we're only putting one article in the sidebar?
  • Where are the parameters in above instructions? If i've worked out a set of parameters that gives me the exact tree i want, how do i apply those parameters to a tree in the sidebar?
Reply to "Problems Adding Tree to Sidebar"