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.

All other Modules

Discuss all other Modules here.

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

Dashboard Module


Go to End
Reply

84 Posts   15662 Views

Avatar
Mo

26 September 2009 at 1:49pm Community Member, 509 Posts

Hey all,

I have been messing around with my first SS module. Its something that has been bugging me for a little while now, and that's the lack of a proper dashboard summarising some of the things I like to keep an eye on, on the sites I have built so far.

Its based on a stripped down and largley re-written version of the Tarball that is hanging around on this forum, but without all the widget stuff.

Anyway, its on Sourceforge at the moment: https://sourceforge.net/projects/ss-dashboard/

SVN is: https://ss-dashboard.svn.sourceforge.net/svnroot/ss-dashboard

Any comments would be appreciated :). Its a little bit hackier than I would like, but I will work on that :)

Cheers,

Mo

Avatar
UncleCheese

27 September 2009 at 10:19am 4085 Posts

Yes! I've been wanting SS to come out with something like this forever. Can't wait to check this out.

Avatar
Mo

27 September 2009 at 12:34pm Community Member, 509 Posts

Its quite basic at the moment, I have made a load of changes today as well. Although I havent uploaded any because at the moment it is actually broken :).

Basically I have tried to keep it as simple as possible just tried to summarise the stuff that I most want to know when first logging in to the admin.

Anyway, hope its of some use :)

Avatar
Mo

28 September 2009 at 2:51am Community Member, 509 Posts

I have commited a new version to the Trunk, it creates a new Dashboard link in the top left and redirects admin/ to go to there.

Its seems mostly stable, but I cannot get the page "version history" to work properly from the left hand bar under site content. If anyone could have a look and see if they can work out a fix, that would be brilliant!

Cheers,

Mo

Avatar
UncleCheese

1 October 2009 at 9:11am 4085 Posts

I LOVE this module. Please keep up the development. It would be great if there were an API that would allow one to customize the dashboards with feeds. Or anything that would help open it up a bit so it's not just a static set of data.

You've got a great feel for UI design. I wish more of Silverstripe had your aesthetic. Nice work!

Avatar
Mo

1 October 2009 at 9:22am Community Member, 509 Posts

Cool, I am glad you like it :).

I would like to add more customisation to this at a later date. I want to improve the integration with the core CMS first though.

I am curious which version you are using? In the most recent I moved Dashboard out into a seperate link in the top left, and made it the default page for /admin/. The only trouble is that to do that I had to extend CMSMain with a new class (DsCMSMain) and then remove CMSMain from the main menu, to replace it with that.

This seems to me to not be the best way to do this however, I would like to simply extend CMSMain and overwrite some of its default settings. However whenever I try to do this, the best I can get away with is having the Site content link to move to the last link in the menu (which I am not happy about either)!!

Any ideas about what I am doing wrong, or is this something to do with the way the CMS is built?

Mo

Avatar
Hamish

1 October 2009 at 12:58pm Community Member, 712 Posts

Yet to try out the module, but it looks awesome. Exactly what the admin side is missing.

As UC suggested, it would be great if it included an API to easily modify it.

Moving the menu to the left should be possible with:

CMSMenu::replace_menu_item($code, $menuTitle, $url, $controllerClass = null, $priority = -1)

$priority determines menu sort order, with higher being further to the left. Setting the static variable $menu_priority in the CMSMain class should have the same effect.

Avatar
Mo

1 October 2009 at 10:38pm Community Member, 509 Posts

I had completely forgotten you could set $Priority in CMSMenu::replace_menu_item

I will try this a bit later, if it works I will be very happy.

Go to Top