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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Themes /

Discuss SilverStripe Themes.

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

<filename>.ss does not work


Go to End


2 Posts   970 Views

Avatar
phokki

Community Member, 14 Posts

12 April 2012 at 9:47pm

Hello, im quite new to SilverStripe,

I've got a Order page on the website and in the CMS i've got a page with the page type Order.
Now i want to edit the Order page, so i made OrderPage.ss to make the layout right.

<div id="page">
<div id="small_logo">
<img title="Logo IJzerleeuw" alt="Logo IJzerleeuw" src="$ThemeDir/images/ijzerleew_logo_transparant_small.png" />
</div>
<div id="page_text">
<h1>$Title</h1>
$Content
$Form
</div>
</div>

But this page isnt showing anything..
The Page.ss is showing instead of OrderPage.ss

I did dev/build?flush=1 but it isnt working.

Anyone got an idea? Thanks already!

Avatar
swaiba

Forum Moderator, 1899 Posts

21 April 2012 at 12:47am

Is your class...

OrderPage.php

class OrderPage extends Page {
...
}