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.

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

how to upgrade extended modules?

Go to End

2 Posts   817 Views


Community Member, 178 Posts

21 January 2010 at 8:13am

Hello, I am setting up a blog page with silverstripe (as my first site, I'm moving from modx) I want to know if there are any best practices for making changes/additions to extensions that will allow easy updating of the package at a later date?

Can the classes be extended/overridden in additional files in anyway?
I'm thinking something like hooks and overrides/prepend/postpend but for extension mods??

any help in how to approach changes in the most manageable way would be greatly appreciated.


Forum Moderator, 5521 Posts

21 January 2010 at 12:06pm

The usual method for overriding modules is to use sub themes for customizing css/images/templates and using decorators for customizing PHP files. Not all functions or objects are going to be decorator-able but you should be able to get pretty far using those 2 methods.

Subthemes -
Decorators -