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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

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

template not show result in site


Go to End


4 Posts   1664 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
(deleted)

Community Member, 473 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....