Dashboard
Permalink
Hey guys I need some help.
How might one happen to change the source of the latest news on the admin side (Dashboard)?
or just edit the dashboard content in general.
How might one happen to change the source of the latest news on the admin side (Dashboard)?
or just edit the dashboard content in general.
Thanks!
Okay so if anyone else wants to change this all you have to do is go to
/concrete/controllers/dashboard/modules/news.php
line 7 is what rss is being pulled
line 8 is where the read more news link points to.
Gotta love C5!
Okay so if anyone else wants to change this all you have to do is go to
/concrete/controllers/dashboard/modules/news.php
line 7 is what rss is being pulled
line 8 is where the read more news link points to.
Gotta love C5!
P.S. If you guys ever want to change the order of the modules on your dashboard or just want to remove one the quickest and best way is to actually edit the SQL Database
There is a table called "DashboardHomePage"
inside there you will see 5 different rows with an order number column a title column and an module id column.
I suppose you could actually ad your own module to the page by inserting a row then adding your own php script into the /concrete/elements/dashboard/modules folder and the /concrete/controllers/dashboard/modules folder
There is a table called "DashboardHomePage"
inside there you will see 5 different rows with an order number column a title column and an module id column.
I suppose you could actually ad your own module to the page by inserting a row then adding your own php script into the /concrete/elements/dashboard/modules folder and the /concrete/controllers/dashboard/modules folder
For future reference try to avoid hacking the core. In the root c5 directory create a copy of the original source file.
Make your changes to the overriding file instead of the core file. When you upgrade down the road you won't get any surprises and you can keep track of your changes if you have multiple sites.
/concrete/controllers/dashboard/modules/news.php
copy to:
/controllers/dashboard/modules/news.php
make changes to this file.
This should apply to almost any situation where the core requires hacking or extending.
Make your changes to the overriding file instead of the core file. When you upgrade down the road you won't get any surprises and you can keep track of your changes if you have multiple sites.
/concrete/controllers/dashboard/modules/news.php
copy to:
/controllers/dashboard/modules/news.php
make changes to this file.
This should apply to almost any situation where the core requires hacking or extending.
I have the same situation where I would like to make modifications to the /dashboard/users/ pages. I have copied this entire directory into the root /single_pages/dashboard/user directory but there are calls to what I guess is concrete5 classes that are causing errors. If there is documentation that points to what needs to be copied, and where when dealing with the dashboard that would be great. The documents that I have read only address this for new dashboard pages and not extending/modifying existing ones.
I found answers for changing the Dashboard Home Page as well as modifying the User sections.
1. Single_pages/dashboard/users/view.php is what you need to modify to delete modules that show up on the Dashboard home page. I took out News, notes, help. If you want to add a module to this page. Put together a PHP file and put it in
concrete/controllers/dashboard/modules directory.
2. As for modifying user single page without hacking the concrete5 directly. you just need to copy from with the concrete folder files into your own root folders. Example:
Copy: concrete/elements/users/search_results.php
To:
elements/users/search_results.php
That is it.
1. Single_pages/dashboard/users/view.php is what you need to modify to delete modules that show up on the Dashboard home page. I took out News, notes, help. If you want to add a module to this page. Put together a PHP file and put it in
concrete/controllers/dashboard/modules directory.
2. As for modifying user single page without hacking the concrete5 directly. you just need to copy from with the concrete folder files into your own root folders. Example:
Copy: concrete/elements/users/search_results.php
To:
elements/users/search_results.php
That is it.
I have a zero-byte file at
/concrete/single_pages/dashboard/users/view.php
Brand new 5.4.0.5 install - makes it pretty hard to modify :)
/concrete/single_pages/dashboard/users/view.php
Brand new 5.4.0.5 install - makes it pretty hard to modify :)
It's dashboard/view.php, not dashboard/users/view.php. Possibly controllers/dashboard/controller.php might be of some use as well.
You can add single pages and move them up to the root to add stuff to the dashboard on the site, but the 5 boxes on your dashboard home aren't really plug and play portally today.