23459 Posts in 18906 Topics by 2877 members
|Go to End|
13 October 2010 at 3:52am
Lets say I create an extended module like "EventRegistration" to extend the "CalendarEvent" module.
I perform a static $hide_ancestor = 'CalendarEvent'; to hide the original, but how can I change the name of "EventRegistration" to something else without renaming the class? Even better, to give it the name in the CMS - "CalendarEvent".
Is this possible?
13 October 2010 at 4:06am
Or actually, I really just want to add an onAfterWrite() event to some particular modules like EventCalendar without having to hack the modules code? How would I do that?
13 October 2010 at 1:09pm
Are you meaning in the create type XX dropdown?? If so then you can declare the add action on the class
|Go to Top|