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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Adding new page types


Go to End


3 Posts   1268 Views

Avatar
KatB

Community Member, 105 Posts

18 January 2008 at 5:47pm

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?

Avatar
Willr

Forum Moderator, 5523 Posts

18 January 2008 at 8:13pm

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

Avatar
KatB

Community Member, 105 Posts

21 January 2008 at 2:52pm

YAY!

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! :)