GithubHelp home page GithubHelp logo

Comments (5)

dospuntocero avatar dospuntocero commented on August 28, 2024

just noticed that users have a checkbox for the predefined dashboard :)

from silverstripe-dashboard.

unclecheese avatar unclecheese commented on August 28, 2024

Hey, Francisco,

The idea is not for clients to create dashboard panels. The developer should do that. If you don't want your clients creating or configuring their dashboard panels, you can take away the permissionf ro those actions in the Security section.

aaron_carlino {
web_developer
www.leftandmain.com
}

On Wednesday, October 3, 2012 at 11:01 PM, Francisco arenas wrote:

Hey Aaron, just wondering if its possible to configure a dashboard in _config or an YML file instead of all the steps required in the dashboard itself... probably most clients wont be able to make their own dashboards, so it could be a good idea to have a config file that creates the default dashboard...
said that, most of the clients dont need options like move things around or add new panels, since we already provided all the ones he can need programatically in the config file...
what do you think?


Reply to this email directly or view it on GitHub (#2).

from silverstripe-dashboard.

dospuntocero avatar dospuntocero commented on August 28, 2024

yes, just noticed that... but i was wondering if its possible to make a default setting using just _config... probably not in this version. ;)

just a tip: management/Property/a1111391w38250730p37835696/ thats the url for a website in google analytics. the user ID is the numbers that immediately follow the p -> 37835696 .

from silverstripe-dashboard.

unclecheese avatar unclecheese commented on August 28, 2024

I see what you're saying. So it would look something like this:

Dashboard::set_default(array(

DashboardRecentEditsPanel::create(array(
'Title' => "Recent edits",
'Count' => 5
)),

DashboardGoogleAnalyticsPanel::create(array(
'ProfileID' => 123455
'Username' => '[email protected]',
'Password' => 'foo',
'PathType' => 'none',
'Range' => '30 days'
)),

));

I like that idea!

But I also like the idea of being able to create a default dashboard in the CMS. That way you can see what you're creating, instead of just doing it in code.

aaron_carlino {
web_developer
www.leftandmain.com
}

On Wednesday, October 3, 2012 at 11:08 PM, Francisco arenas wrote:

yes, just noticed that... but i was wondering if its possible to make a default setting using just _config... probably not in this version. ;)
just a tip: management/Property/a1111391w38250730p37835696/ thats the url for a website in google analytics. the user ID is the numbers that immediately follow the p -> 37835696 .


Reply to this email directly or view it on GitHub (#2 (comment)).

from silverstripe-dashboard.

dospuntocero avatar dospuntocero commented on August 28, 2024

yes! exactly, so you can have a predefined dashboard saved on your project. actually it could be nice too to add inside a module the dashboard panel definition for it, so you can quick add it to the project. i will play with some of my modules ;).

btw... im trying to add the lang files for the module, but in my ss version i18nTextCollectorTask is screwed... can you run it on your machine so i can provide the spanish translations?

from silverstripe-dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.