Open Closed

External link in the menu ? #8951


User avatar
0
vd created
  • ABP Framework version: v9.0.4
  • UI Type: Angular

2 questions :

  1. Is there a way to have an external link in the menu ?
  2. Can we have several icons for a menu item ?

route.provider.ts :

{
                path: 'https://wwww.google.com',     //Should open in a new tab
                name: '::Menu:ExternalSearchEngine',
                order: 6,
                iconClasses: ['fas fa-external-link-alt', 'fas fa-search'], //Array of icons
                layout: eLayoutType.empty,
}

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    It seems there is no support for pushing a new component into the routes collection via using route.provider.ts

    But as another option, you can replace the menu component and render the menus on your own logic:

    https://abp.io/docs/latest/framework/ui/angular/component-replacement?_redirected=B8ABF606AA1BDF5C629883DF1061649A#layout-components

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 19, 2025, 05:30