
Originally Posted by
charles.persinger
The problem I'm having is that the EZpages header is showing a 1 after my links in the header. I've looked at and tried to modify the tpl_ezpages_bar_header file without success to get rid of it. It will show 1 for each link I have enabled except for the last link enabled. Below is the code I pulled from Firebug and also the code from the tpl_expages_bar_header.php. I'm thinking there is going to have to be a major edit of this file as I've tried to get rid of the $i from the echo statements and it has not had the desired effect. While I can modify and do slight edits I'm in no way well versed in php so any help is much appreciated.
Feel free to call me stupid if you are willing to help.
Pulled from Firebug.
<div id="navEZPagesTop">
<ul>
<li>
<a href="http://elkriveroutdoors.com/index.php?main_page=page&id=15">About Us</a>
</li>
1
<li>
<a href="http://elkriveroutdoors.com/index.php?main_page=shippinginfo">Shipping & Returns</a>
</li>
1
<li>
<a href="http://elkriveroutdoors.com/index.php?main_page=contact_us">Contact Us</a>
</li>
PHP code
<?php if (sizeof($var_linksList) >= 1) { ?>
<div id="navEZPagesTop">
<ul>
<?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {
?>
<li><a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
<?php echo ($i < $n ? EZPAGES_SEPARATOR_HEADER : '') . "\n"; ?>
<?php } ?>
</ul>
</div>
<?php } ?>