22401 Posts in 6852 Topics by 2748 members
|Go to End|
20 July 2010 at 9:21am
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 9:23am
forgot to add that I did the flush and the dev/build,
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 1:14pm
thanks for responding so quickly,
god damn, that was it, of course,
I had the php folder / files at 644, changed it to 755 and it rebuilt for me,
ps. 755 not the most secure maybe?
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.
20 July 2010 at 5:13pm
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,
|Go to Top|