How to disable in dashboard.

I want it to show only on the main page. How do i do it. Thanks.

Comments

  • KasperKasper Vanilla Staff

    You could add this to the beginning of the two Base functions:

    if ($Sender->MasterView != '' || $Sender->MasterView != 'default')
        return;
    
  • Thank you. :)

  • KasperKasper Vanilla Staff

    No worries, glad it worked out! Just for future reference, should anyone stumble upon this topic later on, there's a super easy way of doing the same thing in 2.1:

    if (InSection('Dashboard')
        return; // ...or whatever you'd like
    
Sign In or Register to comment.