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.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Adding new page types


3 Posts   1008 Views


18 January 2008 at 5:47pm Community Member, 94 Posts

I'm like a walking Silverstripe bomb!!

I installed a nice new v2.0 installation, and then I killed it again with the same file. I did change some things, apparently not the installation killer.

However, I think this time I have worked it out, and now have changed that file again. However, I now have v2.2.1. In attempting to add the page type to the same location, silverstripe-v2.2.1/mysite/code and flushing the database, absolutely nothing happens. It's as though Silverstripe doesn't see my file. I have checked the file extension and properties and cannot work out what is going on.

Any tips?


18 January 2008 at 8:13pm Forum Moderator, 5511 Posts

can you post the code of the page type?? sounds strange


21 January 2008 at 2:52pm Community Member, 94 Posts


1. My problem was that I was placing it into mysite/code instead of tutorial/code. Why does that make a difference? Will that be problematic long term? How can I switch it back to mysite/code and mysite/templates?

2. I have also conquered the installation killer! :) My specialised page type now works! Yay! :)