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, biapar, Willr, Ingo, swaiba, simon_w

Rename a class / page


Reply

858 Views

Avatar
Skipper

29 January 2010 at 10:59pm Community Member, 16 Posts

I have a live site with a page type / class called "Product". Today I wanted to add the ecommerce module, but this has (surprisingly! ;-) also a class called "Product".

Simply renaming the file, the references within the code and renaming the database tables does not work.

How can I rename a page type?

Thanks,
Skipper