OK, I added that code into the HomePage.php file......nothing's happened that I know of. Am i supposed to do something with it to make it work?....???
There isn't a mysite/_config.php file.
I have to say that this is not very well explained. I installed SS like any newbie and, in keeping with the instructions, have done everything from the tutorial folder...which is what the system seems to default to anyway. What IS mysite, why is it there, what should it do, can I administer more than one site from the admin?
needs clarification. i think, from what I have briefly read in the forums, other newbies have this problem, too!
Sorry if you used the Tutorial option while installing it then Phalkunz refering to tutorial/_config.php
The _config.php file tells SilverStripe what code to use. If you selected the Tutorial theme while installing SS then you need to change all mysite/ references to tutorial/ .
The first 3 tutorials are all very much a bit behind in the times. We are currently in the process of rewriting this tutorials to provide a more useful, userfriendly introduction to SilverStripe since so much has changed in the last 18 months.
OK, understand! Things move on quickly with development, not a bad sign, really!
However, think it might be best for me to revisit this CMS when these things are sorted and the tutorials rewritten to be uptodate - it's just so confusing and very negative for a newbie to get bogged down in things which don't work or aren't clearly explained. Sorry, that's the way user experience goes!
I would reiterate this claim by someone that its the CMS that "your mum can use". !!! Well, I look forward to that becoming a reality, but experience shows it's far from that and still a tool for experts only.
Sorry you didn't have any luck with your trials, Hector. I just want to report that this thread was brilliant in helping me resolving my 'tutorial' issues. Using LAMP and was wondering why HomePage wouldn't show up like the tutorial says. Well, I had HomePage.php under tutorial/code. I moved it to mysite/code and triggered the rebuild. Voila!
I'm still going through the tutorial, but so far melikes!
I have battled with most of the big CMS'es out there except maybe "the Dru" and maybe that's why I know to continue banging my head against the computer until the bleeding stops(yes. Reverse).
I've also just installed the cms and now going through the tutorial. Unfortunately, it went to an abrupt stop when the cms just shows a blank page after I put the HomePage.php in tutorial/code/. Have gone through everything that I found in this thread but I can't make it work. If I delete the code inside of HomePage.php the cms show up again!
What to do?
Same here. I am using Silver Stripe 2.2.3 and installed the basic / tutorial theme.
I rebuilt the database - there were a number of messages of tables created etc.
But after that, going to the admin page just shows a plain blank page.
Please HELP ...