17452 Posts in 4473 Topics by 1971 members
|Go to End|
24 October 2008 at 4:10pm
Hello Im sort of a newb,
I downloaded a theme and am modifying it. I understand css but cannot figure out why everytime I make a change to the .ss file my site goes blank. I haved tried ?flush=1. The reason I need to edit the .ss file is to get rid of the title and some <div> padding issues. Its not fixable by editing the layout.css
I can get it all to work and look right in firebug but how can I take that html code and put it into my page.ss file with out everything going haywire? Or is the page.ss file even the problem?
24 October 2008 at 5:26pm
First, do you have your site in developer's mode? That can be a big help when working on your templates. If you don't, go to /mysite/_config.php and enter:
Second, can you post some code from your Page.ss file?
29 October 2008 at 4:45pm
Hey thanks for responding,
So when i entered that code over my existing code of :
and I got a blank browser... im guessing because im still trying to use the temporary server of silverstripe? maybe? I do have my own server space but Im struggling to get it to work, not sure if Im entering in the right mySQL database info on the config.html... what should that be?
29 October 2008 at 4:50pm
You'll want to include both pieces of code in the _config.php file, instead of replacing it.
The code you cleared out sets the development server, then set_environment_type to 'dev' will output errors to the browser.
If you have both pieces in there and it's still coming up blank, then it's most likely a problem with the template. If you could post your Page.ss file, I can take a look and maybe we can get that solved!
|Go to Top|