Is there a way to customise the Layout.Navigation.Menu function in CompositeC1 or perhaps duplicate this function with one I can edit? I need to add unique IDs to the rendered elements so I can create an image based menu rather than text only.
Is there a way to customise the Layout.Navigation.Menu function in CompositeC1 or perhaps duplicate
Share
The function may be implemented using XSLT or Razor, depending on what starter site you initially selected. Check below “Functions | XSLT Functions | …” and if you do not find Layout.Navigation.Menu there then check below “Layout | /App_Data/Razor/…”.
To copy a Razor Function simply copy the file, naming it like you want your new function to be named. XSLT Functions do not have a copy feature, here you need to create a new XSLT FUnction and copy over settings.