Is it possible to use different navigation pages per site on one code base?

Vote:
 

We have one site right now and created a new one with the same codebase. But we need to change how navigation works on the new site that will impact the first one. Are we able to create multiple navigation pages and specify which site uses which navigation page?

#277607
Apr 01, 2022 14:12
Vote:
 

Yes, you can

Just filter your navigation data based on Start page of your site.

var Pages = contentLoader.GetChildren<PageData>(ContentReference.StartPage);
#277611
Apr 01, 2022 15:12
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.