Forums / Addon Templates / How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Started by pework on 15 Mar 2011, 1:05 PM · Views: 2,821

Results 1 to 8 of 8
15 Mar 2011, 1:05 PM
#1
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Hi, I am completely new to Zen-Cart (awesome) and am using the Bask Black template (also awesome) but can't work out how to add new pages so that they show up in the nav bar? Can anyone assist?

Many thanks

15 Mar 2011, 2:26 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Let's see your site so we know which navbar you are talking about - there are several possibilities.

15 Mar 2011, 6:15 PM
#3
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Thanks, It's dirtybikes.co.uk

Paul

15 Mar 2011, 6:42 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

The main header nav appears to be a completely custom menu, so I can't tell you exactly how to integrate new links. If it is largely hardcoded so that the PHP file section looks similar to this```

<!--bof-header navigation bar display--> <div id="header_bar"> <div id="header_bar_ls_active"><a href="http://www.dirtybikes.co.uk/">Home</a></div> <ul id="nav_bar_content"> <li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
					<li id="products_new"><a href="index.php?main_page=products_new">New Products</a></li>

			<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>

			<li id="products_specials"><a href="index.php?main_page=specials">Specials</a></li>

			<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>

			<li id="products_featured"><a href="index.php?main_page=featured_products">Featured Products</a></li>

			<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>

			<li id="account"><a href="http://www.dirtybikes.co.uk/index.php?main_page=account&zenid=01c3c6b35e90b0f2840530c2e429a0a0">My Account</a></li>
</ul>
<div id="header_bar_rs"></div>

<div id="navMainSearch">
	<form name="quick_find_header" action="http://www.dirtybikes.co.uk/index.php?main_page=advanced_search_result" method="get"><input type="hidden" name="main_page" value="advanced_search_result" /><input type="hidden" name="search_in_description" value="1" /><input type="hidden" name="zenid" value="01c3c6b35e90b0f2840530c2e429a0a0" /><input class="button-search-header float-left" type="image" src="includes/templates/bask_black/images/search_button.png" value="Search" /><div class="input_div"><input type="text" name="keyword" size="6" maxlength="30" style="width: 142px" class="search_input" value="Enter search keywords here" onfocus="if (this.value == 'Enter search keywords here') this.value = '';" onblur="if (this.value == '') this.value = 'Enter search keywords here';" /></div></form>	</div>
</div> <!--eof-header navigation bar display--> ```you would add the link code just before the </ul>, something like this``` <li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
			<li id="myEZPageLink"><a href="<?php echo zen_ez_pages_link(23) ?>">My EZ-Page Link</a></li>
15 Mar 2011, 8:18 PM
#5
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Cheers, I'll give that a go :smile:

15 Mar 2011, 10:33 PM
#6
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

The extra nav button has appeared (thanks!) but if you take a look you will see that the search bar - which was positioned at the end of the nav bar - has been forced onto the next line as the bar is now too big, any ideas how I correct this please?

Many thanks

Paul

15 Mar 2011, 10:39 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Reduce the width of each link. Find this:

stylesheet.css (line 405)

#header_bar a {
color: #FFFFFF;
font-size: 1.083em;
font-weight: bold;
margin-bottom: 2px;
padding: 0 30px;
text-decoration: none;
}

and change the padding to suit.

16 Mar 2011, 7:39 PM
#8
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

Awesome! You are a star! :clap: