Remove child of child topics in the taxonomy menu (esc main menu) to show just Line2 topics not more

Firas Kh
Tera Expert

Hello,

Need to Remove child of child topics in the taxonomy menu (esc main menu) to show just Line2 topics not more. this means that when click on HR menu item - will see the categories under and not the sub categories.

how can it be done? (see the attached photo)

tried to see more documents and nothing answering this question.

thanks!

FirasKh_0-1700782014299.png

 

3 REPLIES 3

Susan Britt
Mega Sage
Mega Sage

This is controlled in the Employee Center Navigation widget, so you'd need to:

  1. Clone that widget
  2. Comment/remove code to display that level
  3. Update the header widget (e.g., Employee Center Header) from your portal to call your cloned widget instead of employee-center-navigation.  This should be in the server script of the header widget.
    • SusanBritt_1-1701354566215.png 
    • The header widget is found on the Theme of your portal record.
      • SusanBritt_0-1701354490497.png
    • If you don't already have a cloned header widget, clone that too, so you are not updating the OOB version.  Then update your portal record to use your cloned header.

Hey Susan, thanks a lot i think this maybe also a solution, i did that at the end via changes to the theme under JS INCLUDES, for a new ui-script to hide 3rd level of topics. thanks!