Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Adding new page types

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

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

Page: 1
Go to End
Author Topic: 965 Views
  • KatB
    Avatar
    Community Member
    94 Posts

    Adding new page types Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Adding new page types Link to this post

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

  • KatB
    Avatar
    Community Member
    94 Posts

    Re: Adding new page types Link to this post

    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!

    965 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.