# Dashboard custom view

**URL:** <https://farmos.discourse.group/t/dashboard-custom-view/2144>\
**Category:** Development\
**Tags:** support-request\
**Created:** [October 31, 2024, 4:21am UTC](https://farmos.discourse.group/t/dashboard-custom-view/2144 "2024-10-31T04:21:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![888m](https://avatars.discourse-cdn.com/v4/letter/8/e9c0ed/32.png) [@888m](https://farmos.discourse.group/u/888m)\
**Post date:** [October 31, 2024, 4:21am UTC](https://farmos.discourse.group/t/dashboard-custom-view/2144/1 "2024-10-31T04:21:14Z")

</div>

I saw this was previously discussed. But I want to remove the default Map that is on the dashboard in favour of my own dashboard that I have created with the Dashboard module. Can anyone guide me on how to do this? If I can’t remove the native dashboard that shows the map. Can I at least disable this and enable my own dashboard as the main one?

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [October 31, 2024, 2:55pm UTC](https://farmos.discourse.group/t/dashboard-custom-view/2144/2 "2024-10-31T14:55:54Z")

</div>

Welcome to the forum @888m! 🙂

> [@888m](#):
>
> I want to remove the default Map that is on the dashboard in favour of my own dashboard that I have created with the Dashboard module.

What “Dashboard” module are you referring to? Is it a separate Drupal module that you’ve added to your instance? (for example this one: [https://www.drupal.org/project/dashboards](https://www.drupal.org/project/dashboards)) Understanding what you’re using will help provide the best recommendation.

Generally speaking, there are a few different options for customizing the farmOS dashboard. The farmOS dashboard is basically just a controller with a route/path of `/dashboard`. This is provided by the “farmOS Dashboard” module (`farm_ui_dashboard`). That module provides the route, and also makes it the default front page of the Drupal site when it is installed (see: [farmOS/modules/core/ui/dashboard/farm\_ui\_dashboard.install at 09e94797270f7f9ae1d50be9b920736580a721c6 · farmOS/farmOS · GitHub](https://github.com/farmOS/farmOS/blob/09e94797270f7f9ae1d50be9b920736580a721c6/modules/core/ui/dashboard/farm_ui_dashboard.install#L14)).

So with that in mind, one very simple way to customize your instance is to create a separate page/route, and just change the `page.front` configuration for your instance to point to that instead. This gives you full control and you can build whatever you like. You just need a route that you can point to. You don’t even need to touch or uninstall the `farm_ui_dashboard` module. It will still live at `/dashboard`, but your own route (eg: `/my-dashboard`) can be set as the default front page.

Another option is to keep the existing farmOS dashboard route as the default front page, but customize it via a custom module. The `farm_ui_dashboard` module provides hooks for adding/altering dashboard blocks. If you are familiar with Drupal module development, here is the example code included in the module: [farmOS/modules/core/ui/dashboard/farm\_ui\_dashboard.api.php at 3.x · farmOS/farmOS · GitHub](https://github.com/farmOS/farmOS/blob/3.x/modules/core/ui/dashboard/farm_ui_dashboard.api.php)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![888m](https://avatars.discourse-cdn.com/v4/letter/8/e9c0ed/32.png) [@888m](https://farmos.discourse.group/u/888m)\
**Post date:** [November 14, 2024, 5:08am UTC](https://farmos.discourse.group/t/dashboard-custom-view/2144/3 "2024-11-14T05:08:32Z")

</div>

Thanks, @mstenta , I used the redirect option, and now my custom dashboard is on the homepage!
