Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Dashboard View #58

Open
crofton77 opened this issue Jan 30, 2015 · 1 comment
Open

Custom Dashboard View #58

crofton77 opened this issue Jan 30, 2015 · 1 comment

Comments

@crofton77
Copy link

How would I change the current static dashboard to load a view showing my stats?

@mrk-j
Copy link
Contributor

mrk-j commented Feb 1, 2015

I looked into this shortly but you can edit the dashboard in the app/config/krafthaus/bauhaus/admin.php file, as it states when you view it.

The only thing you need to do is implement the render() method in the class you want to use. This method is called when the dashboard is rendered. In the config file the first item in the array is the class you want to use, the following items in the array will be used as an array argument when instantiating the class. You can extend src/KraftHaus/Bauhaus/Block/BaseBlock.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants