let me start by saying that I love this product,
I have a problem though, I tried to create new page styles, acc. to your doc.silverstipe.. and tutorial one/two,
- added the page( s).php to the mysite/code,
- added the page (s) in the templates/Layout directory ,
but,, no matter how I go back over it and redo, and try, the new pagestyles wont show up in the dropdown in the cms,
maybe I am missing a step?
20 July 2010 at 11:11am
When you did a dev/build did it appear green with the added record. Could you post the php file you used for it. Make sure your webserver has read permissions to the php file and perhaps use /dev/build?flush=all.
20 July 2010 at 3:39pm
Hmm I would have thought 644 would work. What is your webserver running as (www-data or apache) and is it the owner of the directory. The only folders which need to be writable should be the cache folder and the assets folder. You might want to have a play around to see what works and what doesn't.
I am absolutely not a server expert,
but wouldnt it make sense though with 644 not working since it gives no execute permissions - only read ?
pretty sure it's apache, and I have the silverstripe installed on an add-on domain to my hosting account (with hostmonster.com, which I think is a great place for hosting),
it's actually installed in a subdirectory on that addon domain until I get the website complete and will then move it, maybe that caused the permissions issue,
anyways, it works now,