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.

Hook to hook all pages BUT the dashboard

edited October 2010 in Vanilla 2.0 - 2.8
I'm using a module to control my entire footer (works awesome, recommended!)
But I'm trying to find the hook to get it to show on every page in the entire site, including my own written applications EXECPT the admin pages.

Because if I do
I get my footer in the dashboard as well.


  • Options
    TimTim Operations Vanilla Staff
    if ($Sender->Application == 'dashboard') { return }

    Vanilla Forums COO [GitHub, Twitter,]

  • Options
  • Options
    Actually it didn't work very well cause all the signin pages and search etc are within the dashboard application. However I found a solution that seems to work:
    if (!in_array('Garden.Settings.Manage', $Sender->RequiredAdminPermissions)) { //Enter code }
Sign In or Register to comment.