22977 Posts in 11737 Topics by 2826 members
|Go to End|
28 April 2009 at 6:09am
I want to remove this. I have done a search in all files for "Welcome to SilverStripe!" and it was found in the following:
Am I right in thinking this text is generated on installation? I have edited the files above, uploaded them and tried numrous times to re-install SilverStripe and I still cannot get rid of it.
I am in the process of going over the whole default installation to completly remove all mention of SilverStripe and take out anything that is not needed for my clients. I will be writing documentation for this and will share it with everyone once done.
28 April 2009 at 6:26am
You can edit the homepage after logging in to the CMS.
The actual words are stored in the database which are inserted at installation.
28 April 2009 at 6:33am Last edited: 28 April 2009 6:33am
Surely there must be something I can edit before install?
28 April 2009 at 10:06am
$homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '<p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href="admin/">the CMS</a>. You can now access the <a href="http://doc.silverstripe.com">developer documentation</a>, or begin <a href="http://doc.silverstripe.com/doku.php?id=tutorials">the tutorials.</a></p>');
There are two other default content items there for the about us and contact page that are created on install.
28 April 2009 at 10:54am
I've already tried that with a fresh install and it did not work, it could be cached I don't know.
28 April 2009 at 12:34pm
Just tested and I get the same as you. Been through install.php and traced the default content to /sapphire/core/model/DataObject.php line 2510:
$defaultRecords = $this->stat('default_records');
That stat function is located in core/Object.php, and that's where I gave up following.
Luckily, where this default content originates is DEFINATELY something the core dev guys will know. So either hold fire and wait for someone to reply, or try the Google group or IRC.
29 April 2009 at 8:20am
Well that clears up why it was not working for me. I thought it was something I did wrong.
I'm still trying to find out how to sort the following if you can help:
|Go to Top|