Howdy doo. I've inherited a project for a client that is built on SilverStripe & this is my first time using it. I've been reading the book, the tutorials, and these forums, along with diving head first into the code, and I'm definitely making progress.
Unfortunately I've run into a problem I can't figure out & it seems like the solution will be something silly I've overlooked.
I created a new page type, CofExPage, and a new layout (the entire site uses 1 template with just a few layouts for other pages). I flushed everything & was able to select the new page type for the page I'm trying to redesign but after publishing it, when I go to the page, all it says is "CofExPage". Nothing else renders, no errors, no content, nada. I view-source and that's all that it's spitting out: "CofExPage", the name of my layout/page type.
Files I added:
CofExPage.php in /mysite/code
CofExPage.ss in the theme directory, in /templates/Layout
The other layouts & the rest of the site work fine (everything worked fine until I started mucking around!)
Any help would be greatly appreciated.