Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Can you customize a pagetype's title?

Go to End

3 Posts   994 Views


Community Member, 125 Posts

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?


Community Member, 125 Posts

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?


Forum Moderator, 5523 Posts

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