I have 3 pages I made using EZ-pages (FAQ,aboutus, & contactus). How do I add a link to these pages on the very top bar, the bar with home and login links?
Here is a picture of what im talking about
Thanks in advance!
I have 3 pages I made using EZ-pages (FAQ,aboutus, & contactus). How do I add a link to these pages on the very top bar, the bar with home and login links?
Here is a picture of what im talking about
Thanks in advance!
ezpages actually has it's own top bar if you designate these to be in the header.
Reason is that the home login bar has other links that appear wern you login and when you add to cart. take a look and see. You might run out of space...
There would be enough space, any ideas on how to add links there?
You will have to edit a copy of tpl_header.php for your template and find this:
Move and somehow convert to a "li" as the other links there are in the navigation area that is above ezpagesCode:<!--bof-header ezpage links--> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?> <!--eof-header ezpage links-->
Might have to have a look at tpl_ezpages_bar_header.php alsoCode:<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
i'm doing a similar thing were i'm adding two additional links next to home and login and was wondering how i align my new links to the right side of the bar and leave the login and home on the left were they are.
How are you adding them? ezpage or additional or current pages?i'm doing a similar thing were i'm adding two additional links next to home
A new div contained where you want thesehow i align my new links to the right side of the bar and leave the login and home on the left were they are.
Code:<div id="your_new_div"> <ul class="forward">
i was entering them into the tpl_header.php contained in my template folder. should i be doing it some other way?
here's a link, http://www.pinecrestprinting.com/store/ i'm trying to move the about us and estimate request over to the right and keep the home & login on the left.
thanks in advance for any help on this.
as for where the links goto, i have new pages that i created that the links direct to (i haven't actually created them yet but after lunch i probably will).
Try where you have this
Creating a new contained div something like this and provide your name for the div blue is newCode:<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><a href="http://www.pinecrestprinting.com/store/">Home</a></li> <li><a href="http://www.pinecrestprinting.com/store/index.php?main_page=login">Log In</a></li> <li> <a href="http://www.pinecrestprinting.com/about_us.html">About Us</a></li> <li> <a href="http://www.pinecrestprinting.com/estimate.html">Estimate Request</a></li> </ul> </div>
Code:<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><a href="http://www.pinecrestprinting.com/store/">Home</a></li> <li><a href="http://www.pinecrestprinting.com/store/index.php?main_page=login">Log In</a></li> Any other code that currently exists up to the </ul> </ul> <div id="your new div"> <ul class="forward"> <li> <a href="http://www.pinecrestprinting.com/about_us.html">About Us</a></li> <li> <a href="http://www.pinecrestprinting.com/estimate.html">Estimate Request</a></li> </ul> </div> </div>
You might create these using ezpages over a html page