Topic on Extension talk:CategoryTree

Hook to run function and allow changing value of $wgCategoryTreeSidebarRoot

1
Ksumwalt (talkcontribs)

I want to have two values for $wgCategoryTreeSidebarRoot, one for when a user is logged in and a second for anonymous users. This would allow for a limited list in the sidebar for anonymous users when using the categorytree-portlet. I should be able to create a function in localsettings.php and link it with a hook function but can't figure out what hook to use and get the value changed. Any suggestions?

Reply to "Hook to run function and allow changing value of $wgCategoryTreeSidebarRoot"