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.

Template Questions /

template not show result in site


Reply


4 Posts   955 Views

Avatar
amarbhanu

Community Member, 57 Posts

10 April 2009 at 12:00am

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
Avatar
amarbhanu

Community Member, 57 Posts

10 April 2009 at 6:26pm

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

Avatar
simon_w

Forum Moderator, 474 Posts

10 April 2009 at 9:59pm

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();

Avatar
amarbhanu

Community Member, 57 Posts

10 April 2009 at 11:35pm

Edited: 10/04/2009 11:36pm

thanks simon_w

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

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

Please....