Custom Template Path for Navigation control
In Sitefinity 4.X, when you configured a navigation control, under "Design Settings" you could set Custom Template Path to a user control that you created.
We are trying to move to version 6.X, and in the user interface for the navigation control, the Custom Template Path entry does not exist anymore. When I try to set the path to the user control via the Layout Template Path entry in version 6, I get an error that says, "A required control was not found in the template for "~/ControlTemplates/RetireTrackNav/RetireTrackNav.ascx". The control must be assignable from type "Telerik.Sitefinity.Web.UI.NavigationControls.SitefinitySiteMapDataSource" and must have ID "dataSource". This implies that perhaps I have to change my code, but I haven't been able to find out how to change my code so it will work, or even if that is the real fix.
Anyone have any thoughts or experience with this?
Thanks in advance.
You got the right path, but this error indicates that you are missing the SitefinitySiteMapDataSource control
from your page template. You can use the out-of-the-box template as starter point, which could be found on your navigation widget Edit, pick up a template end click "Edit selected template".
If you need to extend the out-of-the-box navigation, you create your own user control, and you need to inherit from LightNavigationControl class.
You can also activate the older Navigation by registering it in your toolbox sections as described in this documentation article: