Reputation: 19467
I'm writing a joomla extension that is a component (not a plugin), however I also need to be able to detect when an article is published. I've worked out that I can do this with a plugin that catches the system event onContentChangeState, however I cannot figure out how to catch the event with a component. Any ideas?
I'm aware the easiest solution is to do it as two extension, a plugin and a component, but this is unacceptable. It must be a part of the component.
Upvotes: 1
Views: 498
Reputation: 9330
The end result is that you can make a single extension that uses one install package for it's multiple elements.
Upvotes: 1