Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Discuss SilverStripe Themes.

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

Selecting in theme


15 Posts   3891 Views


10 March 2010 at 6:55am Community Member, 323 Posts


Well, are you sure welcome.png is there? The URL is correct. I guess you flushed the cache…

I suggest you to check the page source and verify that the div banner is there, so to confirm that the problem is the image not being loaded.


10 March 2010 at 3:41pm Community Member, 4 Posts

Hi Juan!

Create HomePage.php (path /mysite/code/):
* Defines the HomePage page type

class HomePage extends Page {
static $db = array(
static $has_one = array(


class HomePage_Controller extends Page_Controller {

step2 : run http://localhost:82/silverstripe/dev/build?flush=1

step 3 : Home Page assigned it to page type HomePage created (step2)

step 4 :

i checked image welcome.png correct with path as well as div banner (attach file)

Create (path /themes/tutorial/templates/Layout/ and i tried with path /themes/tutorial/templates/ ):
<div id="Banner">
<img src="themes/tutorial/images/welcome.png" alt="Homepage image" />
<div id="Content" class="typography">

step 5: I flushed the cache by http://localhost:82/silverstripe/?flush=1

My home page is not change with new layout. Please, Can you guide me which mistake ? Thanks Juan

Attached Files

10 March 2010 at 10:08pm Community Member, 4 Posts

Thanks Juan

I changed home page with new template. Because first install, I was not selected template(empty) to begin tutorial.

Thanks again!


26 February 2011 at 2:23am (Last edited: 26 February 2011 2:24am), Community Member, 7 Posts

I'm having problems with this /dev/buid/?flush=1.
My development address for my site is http://localhost/SilverStripe/.
I've created the HomePage.php in mysite/code folder, I've pasted the code from tutorial.
When I try to run "http://localhost/SilverStripe/dev/build/?flush=1" I get stuck with:

"Not Found

The requested URL /SilverStripe/dev/build/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

What can I do next?


26 February 2011 at 2:29am Community Member, 7 Posts

Me again.
I've solved it :)
You have to look carefully at the site address.

I've tryed only with http://localhost/SilverStripe/dev/build/?flush=1 (without index.php in it)

On local server I don't have apache rewrite_mode set on...



27 March 2014 at 8:08pm Community Member, 9 Posts


I tried both http://localhost/mysite/index.php/dev/build/?flush=1 and http://localhost/mysite/dev/build/?flush=1 still getting error.

Please help me.

Thanks in advance.


28 March 2014 at 5:52pm (Last edited: 30 March 2014 5:04pm), Community Member, 79 Posts

Hi Suganya

Try dev/build and ?flush=1 separately! :D

I believe you should access folder SS project folder, not localhost/mysite