Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Remove that ugly splash screen with the logo!

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

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

Page: 1
Go to End
Author Topic: 1946 Views
  • jorrie
    Avatar
    Community Member
    40 Posts

    Remove that ugly splash screen with the logo! Link to this post

    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!

  • Pigeon
    Avatar
    Community Member
    243 Posts

    Re: Remove that ugly splash screen with the logo! Link to this post

    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.

  • jorrie
    Avatar
    Community Member
    40 Posts

    Re: Remove that ugly splash screen with the logo! Link to this post

    Hi Thanks

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

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Remove that ugly splash screen with the logo! Link to this post

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

  • Thomashv
    Avatar
    Community Member
    33 Posts

    Re: Remove that ugly splash screen with the logo! Link to this post

    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?   

    1946 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.