Jump to:

3447 Posts in 1032 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » Generated with the default ContentController.ss template

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

Page: 1 2 3
Go to End
Author Topic: 7514 Views
  • TDNP
    Community Member
    19 Posts

    Re: Generated with the default ContentController.ss template Link to this post

    I realize that this post is dead but for people that go through all the steps above, I have a very easy fix. Make sure your SS file matches the case of the page controller.

    For Example:
    If you are creating a contact page you would use
    class ContactPage_Controller extends Page_Controller {}
    That would mean your template must be titled "ContactPage.ss" and not "contactPage.ss".

    I was recreating my base file (Page.ss) and used a lower-case 'p'. So I have been reading and following all of the suggestions given here and a number of other blogs and forums that have similar advice. All came back to the same thing. Solution was a capital 'P'.

Page: 1 2 3
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.