Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Categories appearing in Dashboard navigation?

In my Dashboard area, when viewing settings for certain plugins, it inserts my Category structure at the bottom of the left side navigation area. Any idea as to how I'm making this happen?

(Running 2.0.18.4)

Comments

  • hgtonighthgtonight MVP
    edited May 2013

    Your theme hooks file is essentially a plugin that is always enabled as long as your theme is. You will need to make note of this in any future questions you have.

    You can either deal with it, or modify your theme hooks to check for the current master view.

    E.g this will not add the module if you are in the admin view:

    public function PluginController_Render_Before($Sender) {
      if($Sender->MasterView != 'admin') {
        $Sender->ApplicationFolder = 'vanilla';
        $Sender->AddModule('CategoriesModule');
        $Sender->AddModule('BookmarkedModule');
        $Sender->ApplicationFolder = 'dashboard';
      }
    }
    

    P.S. You should still update to 2.0.18.8 for security reasons.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • That worked, thank you so much.

  • And I upgraded to 2.0.18.8

Sign In or Register to comment.