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

changing the splash screen


Go to End


10 Posts   3320 Views

Avatar
weblaster

Community Member, 1 Post

7 January 2009 at 1:22am

Hello,

For starters i would like to complement you guys on your great product! mind blowing indeed.
I have been trying to find how to change the splash screen on the admin panel when loading startup for my own splash screen and could not find any info.

Any help would be greatly appriciated.

Naor

Avatar
AdamJ

Community Member, 145 Posts

7 January 2009 at 2:21am

The splash screen image is "cms/images/loading.gif". If you change that, it should change for you. Not sure if this breaks any guidelines or anything though...

Avatar
UncleCheese

Forum Moderator, 4102 Posts

7 January 2009 at 4:00am

You mean to create some kind of dashboard? I've done that. For starters, just edit the template /cms/templates/Includes/CMSMain_right.ss

I totally agree with you -- the default page in Silverstripe gives me a "what were they thinking" moment every time I log in. No calls to action, no overviews or summaries. It's just... empty.

By editing that template, however, I've been able to add links to most recently updated pages, assets, users, etc.. at least it's something.

Avatar
AdamJ

Community Member, 145 Posts

7 January 2009 at 1:13pm

UncleCheese, would you be open to posting the stats code for the dashboard setup? That sounds really useful!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

7 January 2009 at 3:00pm

Sure.. basically you want to do something like this..

/cms/templates/Includes/CMSMain_right.ss

		<h1>$ApplicationName</h1>
		<div class="dashboard-module">
			<h3>Recent Page Updates</h3>
			<ul>
				<% control RecentUpdates %>
					<li>$LastEdited : $Title</li>
				<% end_control %>
			</ul>
		</div>
		<div class="dashboard-module">
		<h3>Recent Uploads</h3>
			<ul>
				<% control RecentUploads %>
					<li>$LastEdited : $Filename</li>
				<% end_control %>
			</ul>
		</div>

/cms/code/LeftAndMain.php

	public function RecentUpdates()
	{
		return DataObject::get("SiteTree",null,"LastEdited DESC",null,10);
	}

	public function RecentUploads()
	{
		return DataObject::get("File",null,"LastEdited DESC",null,10);
	}

You get the idea..

Avatar
AdamJ

Community Member, 145 Posts

7 January 2009 at 3:52pm

Awesome, thanks mate!

Avatar
Liam

Community Member, 470 Posts

8 January 2009 at 10:40am

Whatever happened to the dashboard module/extension that was kicking around for a while?

Avatar
Mo

Community Member, 541 Posts

7 August 2009 at 9:51am

Hi all,

I have been thinking about this a lot recently, glad to see I am not the only one :).

UncleCheese, is it possible to overwrite the CMSMain_right.ss in my code or themes folder?

I currently have CMS, Sapphire and Jsparty loaded into my projects via svn:externals, so I cant easilt hack up the code :s.

Mo

Go to Top