Jump to:

3434 Posts in 1026 Topics by 866 members

Template Questions

SilverStripe Forums » Template Questions » template not show result in site

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

Page: 1
Go to End
Author Topic: 917 Views
  • amarbhanu
    Avatar
    Community Member
    57 Posts

    template not show result in site Link to this post

    sir,

    i am new for solverStripe and solverStripe-v2.3.1 use so i created a first time module but admin section work and site have not display content please help me. "modTestSS" is my module..

    Attached Files
  • amarbhanu
    Avatar
    Community Member
    57 Posts

    Re: template not show result in site Link to this post

    any one help me .................

  • simon_w
    Avatar
    Forum Moderator
    471 Posts

    Re: template not show result in site Link to this post

    You have pageTest as your file name and Page subclass, but it looks like everything else is copied straight from Page.

    class Page_Controllers extends ContentController

    should be

    class pageTest_Controller extends Page_Controller

    is most likely the cause of your problem. You may also wish to update the results() method, and the init() method doesn't need the calls to Requirements::themedCSS() as that would be done in Page_Controller::init();

  • amarbhanu
    Avatar
    Community Member
    57 Posts

    Re: template not show result in site Link to this post

    thanks simon_w

    if you have any link for create new module learn easily with example then give me..

    little but effective...........

    Please....

    917 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.