Dear Joomla Community,
I'm working on a little Joomla (3.4.1) system plugin that injects some meta tags into an article. It's working fine so far. Now I'd like to extend the plugin to copy the content of an other article into the article that's processed by the plugin. Is this somehow possible?
To be more precise, what I'm looking for is:
- How can I get the content/body from an other article from inside my plugin?
- How can the content/body then be injected into the current article (i.e. the article the plugin is currently processing)?
- Currently the plugin does all it's work in onBeforeRender(). Is that the right place to read and inject an other article?
Any advice is welcome. Thank you very much!