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

Easy way to change page template names?


Reply

686 Views

Avatar
prawnstar

22 June 2010 at 9:35am (Last edited: 22 June 2010 10:20am), Community Member, 116 Posts

After considerable content input, I'd like to change the name of one of my templates. I named it a confusing name when I created it.

When I first set SS up I did this and it caused a lot of sub pages to break. I ended up deleting them and starting over since I wasn't very far into the process, but this time I'm pretty far down the content rabbit hole.

Can this just be done from PHPMyAdmin?

Thanks!

EDIT - For the record, I was just going about it all wrong. I was trying to change the names of the template and controller files instead of creating new template and controller files, changing page templates and then deleting the old ones.

Problem resolved.