Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Dashboard Module

Discuss all other Modules here.

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

Page: 1 2 3 4 5 6 7 8 9 10 11
Go to End
Author Topic: 15425 Views
  • Mo
    Avatar
    Community Member
    508 Posts

    Dashboard Module Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Dashboard Module Link to this post

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

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Dashboard Module Link to this post

    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

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Dashboard Module Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Dashboard Module Link to this post

    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!

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Dashboard Module Link to this post

    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

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Dashboard Module Link to this post

    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.

  • Mo
    Avatar
    Community Member
    508 Posts

    Re: Dashboard Module Link to this post

    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.

    15425 Views
Page: 1 2 3 4 5 6 7 8 9 10 11
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.