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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Remove that ugly splash screen with the logo!


Go to End


5 Posts   2762 Views

Avatar
jorrie

Community Member, 40 Posts

29 March 2010 at 1:31am

Is there a way to remove that ugly splash screen in sliverstripe?
I have downloaded the beta 2.4 and was hoping silverstripe finally removed that splash screen and improved the loading between "tabs" but that splash screen definitly has to go out in my opinion!

Avatar
dhensby

Community Member, 253 Posts

29 March 2010 at 2:01am

Of course, this is SilverStripe!

There are three main things that you can customise with great ease with the CMS 'look and feel'.

LeftAndMain::setLogo('mysite/images/cms-logo.gif',[inline custom css]);
LeftAndMain::setApplicationName('My CMS', null, 'http://www.betterbrief.co.uk/');
LeftAndMain::set_loading_image('mysite/images/cms-loading.gif');

see: LeftAndMain class

Please note, order is important with these functions as one will ovewrite the other, a bit annoying.

PS: I have only used this in 2.3, but the code is still in the trunk, so it should work in 2.4 as well.

Avatar
jorrie

Community Member, 40 Posts

29 March 2010 at 4:51am

Hi Thanks

But where exactly do you set these settings, in the main config file inside / cms ?

Avatar
Hamish

Community Member, 712 Posts

29 March 2010 at 1:49pm

Any _config.php will do, but preferably the one in your mysite folder.

Avatar
Thomashv

Community Member, 35 Posts

2 February 2011 at 1:45am

Edited: 02/02/2011 1:46am

I've got some strange problems when trying to change the logo in admin.

In my _config.php:

LeftAndMain::setLogo('assets/Uploads/VisionWeb-logo.gif', 'position: relative; left: 0px; margin-top: -3px; padding-left: 0px');

And when i view the source code the ' character has been html encoded:

<div id="Logo" style="background: url(&quot;assets/Uploads/VisionWeb-logo.gif&quot;) no-repeat scroll 0% 0% transparent; position: relative; left: 0px; margin-top: -3px; padding-left: 0px;">

Anyone having any idea about what's happening here?