Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

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