Code for adding a custom page link to the web_menu.sitemap

Posted By thedrumdoctor Fri 16 Sep 2011
Add to Favorites0
Author Message
thedrumdoctor
 Posted Fri 16 Sep 2011
Supreme Being

Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)Supreme Being - (68,577 reputation)

Group: Forum Members
Last Active: Mon 21 May 2018
Posts: 94, Visits: 266
Adding a custom page seems straightforward enough and I'd like to make a shipping rate table page to the site so customers can see what rates we use before they decide to order. Rather than add this page to a tiny footer menu, I'd like to add the page to the top navigation menu. However, having looked at the web_menu.sitemap file I'm not at all sure what syntax to use to add a new link.

For instance, with search engine friendly URL's switched on, a custom terms page generates the following link:

www.domainname/Page.aspx?strPage=Terms

If I was to add the terms page to the main navigation menu, would the web_menu.sitemap file have to contain link code like:

siteMapNode url="~/Page.aspx?strPage=Terms"

Can someone explain what is the correct way to do this please?


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top