I'd like to add another option to our Main Menu (Tutorial), just like in
our DSpace 8, as shown in the image below.
[image: image.png]
Link: https://biblioteca.mpf.mp.br/repositorio/home

In DSpace 8, adding another option to this menu was very simple. You just
had to modify the `createPublicMenu$()` function in the
`menu-resolver.service.ts` file:

menuList.push(
            /* Tutorial */
            {
              id: 'browse_global_tutorial',
              active: false,
              visible: true,
              index: 3,
              model: {
                type: MenuItemType.ONCLICK,
                text: 'Tutorial',
                function: () => {
                  window.open("http://hdl.handle.net/11549/318600";, "_blank"
);;
                },
              } as OnClickMenuItemModel,
            },
          );
        }


*However, in DSpace 9.1, this `menu-resolver.service.ts` file no longer
exists, so I can't find which file to modify to add another option to the
main menu. Has anyone here done this before?*

Aroldo

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/CACKFi%2BdRgCKJ23ov28v%3DbbvNeVZOKTjUJj_Kmz%3D%3DupA-BkQ_Cg%40mail.gmail.com.

Reply via email to