Fork me on GitHub
Current releases are 2.1 (gold) and 2.0.18.11 (security patch for 2.0)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

[Documentation] BeforeDiscussionMeta in single category

castaldicastaldi New
edited May 2012 in Vanilla 2.0 Help

I have a question about the DiscussionPrefix plugin.

I have edited the plugin to change the prefix to a label like the 'closed' label. Works good, except for the single categories. The function "DiscussionsController_BeforeDiscussionMeta_Handler" doesn't seem to work there. Also the original function 'DiscussionsController_BeforeDiscussionTitle_Handler' that is used by the plugin doesn't work in the single categories. On the homepage and in the tag lists both functions do work.

I've tried anything but I can't find a solution for this. I hope someone can help me (and others) out with this.

Thanks a lot in advance!

Tagged:

Best Answer

  • peregrineperegrine ☯ hasta luego :) In-Flight MVP
    edited May 2012 Answer ✓
      public function CategoriesController_BeforeDiscussionMeta_Handler(&$Sender) {
           $this->DiscussionsController_BeforeDiscussionMeta_Handler($Sender);
        }
    

    Monetary Donations will be appreciated if you use my plugins. Thanks in Advance.
    As a waiter gets a tip for a good meal, tips for successful solutions appreciated as well. Peregrine

Answers

Sign In or Register to comment.