Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

[Documentation] BeforeDiscussionMeta in single category

castaldicastaldi newb
edited May 2012 in Questions

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 MVP
    edited May 2012 Answer ✓
      public function CategoriesController_BeforeDiscussionMeta_Handler(&$Sender) {
           $this->DiscussionsController_BeforeDiscussionMeta_Handler($Sender);
        }
    

    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

Answers

Sign In or Register to comment.