Jump to:

1347 Posts in 439 Topics by 514 members

Themes

SilverStripe Forums » Themes » <filename>.ss does not work

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 430 Views
  • phokki
    Avatar
    Community Member
    14 Posts

    <filename>.ss does not work Link to this post

    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!

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: <filename>.ss does not work Link to this post

    Is your class...

    OrderPage.php

    class OrderPage extends Page {
    ...
    }

    430 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.