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.
Options

How to disable in dashboard.

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

Comments

  • Options
    KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

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

    if ($Sender->MasterView != '' || $Sender->MasterView != 'default')
        return;
    

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • Options

    Thank you. :)

  • Options
    KasperKasper Scholar of the Bits Copenhagen 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
    

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

Sign In or Register to comment.