Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

How to keep my change in update comment ? [RESOLVED]

steamsteam
edited November 2015 in Vanilla 2.0 - 2.8

Hi,

I added my html on the comment with the method - DiscussionController_BeforeCommentBody_Handler
but when I update the comment my added html disappears and it appears when refreshing the comment.

What method (event) I need to call for insert my part of html on the update comment too?

Thanks.

Tagged:

Best Answer

  • steamsteam
    edited November 2015 Answer ✓

    I found it !

    I answered myself... The solution if need someone.

    You need to use event - PostController_BeforeCommentBody_Handler

    I have no option to close my answer =)

Answers

  • steamsteam
    edited November 2015 Answer ✓

    I found it !

    I answered myself... The solution if need someone.

    You need to use event - PostController_BeforeCommentBody_Handler

    I have no option to close my answer =)

Sign In or Register to comment.