Undecided Question

how do i add a plugin to an article
Tags:
  • 0 Interesting!
  • Hits: 290
  • Expires in: Expired
Current Answers to this Question (4) :

Answers:

  • In the plugin php file, create the class

    class plgContentLoadmodule extends JPlugin

    Use any of the following functions, depending on what the plugin is going to do, to process the content:

    • onBeforeContentSave()
    • onAfterContentSave()
    • onPrepareContent()
    • onAfterDisplayTitle()
    • onBeforeDisplayContent()
    • onAfterDisplayContent()

    Source(s):

    http://docs.joomla.org/How_to_create_a_content_plugin

    • 02/19/2010
    • 55 Rate this answer as good
    • 52 Rate this answer as bad
    • Report as abusive/illegal
  • Thuhgot it wouldn't to give it a shot. I was right.

    Source(s):

    Thuhgot it wouldn't to give it a shot. I was right.

    • 12/18/2011
    • 3 Rate this answer as good
    • 3 Rate this answer as bad
    • Report as abusive/illegal
  • Thuhgot it wouldn't to give it a shot. I was right.

    Source(s):

    Thuhgot it wouldn't to give it a shot. I was right.

    • 12/18/2011
    • 3 Rate this answer as good
    • 3 Rate this answer as bad
    • Report as abusive/illegal
  • Thuhgot it wouldn't to give it a shot. I was right.

    Source(s):

    Thuhgot it wouldn't to give it a shot. I was right.

    • 12/18/2011
    • 3 Rate this answer as good
    • 3 Rate this answer as bad
    • Report as abusive/illegal