Open Closed

Navbar / toolbar Customisation #208


User avatar
0
ididsbury created

Hi,

A couple of questions relating to navbar / toolbar customisation.

  1. I'd like to completely customise the toolbar and add my own components. I've created my own ToolbarContributor as follows:

ToolbarContributor.png

I first remove all items however the Fullscreen component is not being removed as follows:

Fullscreen.png

How can I remove the Fullscreen component? Do I need to replace the entire Toolbar component? If so, can you please advise what files I need to override.

  1. I need to add a button in the toolbar that will open / expand a region on the right hand side of the screen. This will behave similar to the menu on the left hand of the screen however it can be fully collasped. See below:

Expand Region.png

To implement this functionality I think I need to use the layout hock mechanism but the documentation seems to be still in development:

https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks

Can you please advise how to use the layout hook mechanism to achieve the above. I suspect that my requirements might not be possible without overriding the header or the entire layout. Is it possible to override the header (similar to overriding the footer (provided in the start-up template)? If so, can you please advise what file to override (I've tried _Header.chtml).

Thanks

Ian

  • ABP Framework version: v2.8.0

  • UI type: MVC

  • Tiered (MVC) or Identity Server Seperated (Angular): no


1 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00