Page 1 of 1

Adding custom page and link on navigation bar

Posted: Thu May 14, 2009 4:22 pm
by ksolito
I need to create a new, custom page, specifically business policies, and add it to the navigation bar next to the Contact Us link.

How do I best go about this, working with in the AC framework?

Re: Adding custom page and link on navigation bar

Posted: Fri May 15, 2009 6:34 am
by mazhar
Read following thread about how to add a new page
viewtopic.php?f=42&t=9473
For new item in top navigation, locate following code in header scriptlet

Code: Select all

<div class="content" style="float:left;">
				<a href="~/Default.aspx" class="tab">Home</a>
				<a href="~/Search.aspx" class="tab">Product Finder</a>	
				<a href="~/AdvancedSearch.aspx" class="tab">Advanced Search</a>	
				#if ($store.Currencies.Count > 1 ) 
					<a href="~/Currencies.aspx" class="tab">Currencies</a>
				#end
				<a href="~/ContactUs.aspx" class="tab">Contact Us</a>
			</div>
and create a new entry under contact us page as below

Code: Select all

<div class="content" style="float:left;">
				<a href="~/Default.aspx" class="tab">Home</a>
				<a href="~/Search.aspx" class="tab">Product Finder</a>	
				<a href="~/AdvancedSearch.aspx" class="tab">Advanced Search</a>	
				#if ($store.Currencies.Count > 1 ) 
					<a href="~/Currencies.aspx" class="tab">Currencies</a>
				#end
				<a href="~/YourPage.aspx" class="tab">Your Page</a>
			</div>