Skip to main content
Edited the data from the comment which solved my problem, so the accepted answer is correct.
Source Link

theThe menu is built by javascript and if I remember well it's donein JavaScript in the CORE.js file.

so if If you need to add a new menu item, you are going to have to overrides this file  ... notNot cool.

aboutA better approach is to use JavaScript to override the function which creates the menu in Core.js. You will just need to reference your file after the Core.js file and be careful with the defer loading.


About the version display form, the template is defined in DefaultTemplates.ascxDefaultTemplates.ascx with the id

DocLibDisplayFormVersionToolBar DocLibDisplayFormVersionToolBar.

I guess you could overrides the default rendering by your own.

the menu is built by javascript and if I remember well it's done in the CORE.js file.

so if you need to add a new menu item, you are going to have to overrides this file  ... not cool

about the version display form, the template is defined in DefaultTemplates.ascx with the id

DocLibDisplayFormVersionToolBar

I guess you could overrides the default rendering by your own

The menu is built in JavaScript in the CORE.js file. If you need to add a new menu item, you are going to have to overrides this file... Not cool.

A better approach is to use JavaScript to override the function which creates the menu in Core.js. You will just need to reference your file after the Core.js file and be careful with the defer loading.


About the version display form, the template is defined in DefaultTemplates.ascx with the id DocLibDisplayFormVersionToolBar.

I guess you could overrides the default rendering by your own.

Source Link
GillouX
  • 670
  • 5
  • 13

the menu is built by javascript and if I remember well it's done in the CORE.js file.

so if you need to add a new menu item, you are going to have to overrides this file ... not cool

about the version display form, the template is defined in DefaultTemplates.ascx with the id

DocLibDisplayFormVersionToolBar

I guess you could overrides the default rendering by your own