17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 885 Views |
-
Adding new page types

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?
-
Re: Adding new page types

18 January 2008 at 8:13pm
can you post the code of the page type?? sounds strange
-
Re: Adding new page types

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!
| 885 Views | ||
|
Page:
1
|
Go to Top |


