Create a custom module which requires plugin prepared content such as {myplugin dosomething}. Enable PrepareContent in the plugin.
I expect onContentPrepare() to be passed the module object in the same way that it is passed an article object.
onContentPrepare() is passed an StdClass object with a text property containing the module text. There is no other information about the module properties - such as the ID. For an article all the information I require is in the object.
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |