Clone Header Menu

Betty9
Tera Contributor

I want to change 'Tour' label to 'Test', I cloned Header Menu widget, change 'aria-label' and replaced menu widget with my cloned Header Menu, but It still not changed. Does anyone knows why? thank you!

find_real_file.png

find_real_file.pngfind_real_file.png

1 ACCEPTED SOLUTION

Oh if you haven't included then you have to no ? 🙂 how it will work without exact replica of OOB widget ?

find_real_file.png

Give some different names and add to your cloned widget.

Please hit like and mark my response as correct if that helps
Regards,
Musab

View solution in original post

4 REPLIES 4

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Did you replaced 'Cloned widget' in header menu ?

Go to 'sp_portal' page, open your entry

Open 'Main menu' reference in new form

find_real_file.png

Under this page add your cloned widget and see if changes are reflected.

find_real_file.png

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

Hi, I have replaced Main menu with my widget, It still not worked , I did some research, It seems because missing the Angular templates

Oh if you haven't included then you have to no ? 🙂 how it will work without exact replica of OOB widget ?

find_real_file.png

Give some different names and add to your cloned widget.

Please hit like and mark my response as correct if that helps
Regards,
Musab

Mohith Devatte
Tera Sage
Tera Sage

Hello @Betty ,

did you copy the angular ng templates also ?

if not i think there are three ng templates which are tagged to this widget so you need yo cokne those three and tag it to your cloned widget and also replace the names of the ng templates in html and server or client scripts of the cloned widget where ever they are used

mark my answer correct if it helps you