I was wondering how to add a button to the navigation bar. I wanted to add a button next to the shopping cart button. Also I would like to know how to add like another page like under the information button. I am adding a faq page and would like to add it in either of those two spots which ever one is easier. Thanks for the help.
Great template!;)
I like the colors combination and the layout!:)
Nice looking and easy to use!
Thanks
To add the faq page under the information button, just open up includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
Find the spot where you would like the new link.
Say you want it underneath the unsubscribe link.
Just find this part:
<li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_UNSUBSCRIBE; ?></a></li>
and add the link there:
<li><a href="index.php?main_page=faq">Name of link here</a></li>
As for the button, I'm still not positive what you want to do. You want an actual clickable button like with an image? Or you just want to add another item to the drop menu at the end, and have it look just like the rest of the menu?
Well I am looking at adding another button on the navagation bar. Like next to the shopping cart button I would like to put a button that I could put a link to another page. I would like this button to link back to the main site which is www.clglampwork.com cause the shopping cart is within the same domain but in its own folder. As for the faq I have the faq module located here http://www.zen-cart.com/index.php?ma...roducts_id=329 that I was going to install. I was wondering what i would need to do to have this under the unsubscribe button. I have attached a picture with the spots labeled and circled where I would like to add the buttons. Thank you very much for all the help!
Ok, sorry for the confusion, LOL... You're calling it a "button" and to me, a button is like clicking "Submit Reply" when you finished writing a post. Adding a button to the top menu would require a different method, than just adding a new link to it like you would like to do.
The FAQ button underneath unsubscribe instructions are in my post above.
To add the new link after "Shopping cart" first find this section:
Directly after that, just add your new link:Code:<?php } else { ?> <li><a class="noLine" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li> <?php } ?>
Code:<li><a href="http://www.clglampwork.com/">Name of link here</a></li>
Thank you for all of the help. I tried adding the link next to the shopping cart but it shifted down to the next line. I would like it to be located next to the shopping cart link. You can see the shopping cart here www.clglampwork.com/zencart . I realize the text is too long and causing it to go to the next line but I was wondering if you knew of anyway to make it work on that line and fill up the rest of the purple bar. Thanks for all of the help.
Instead of having the link next to the word shopping cart. I was wondering if it was possible to add it to the top bar where the words home and log in are. If possible I would like to add this to the right side or that bar. To clarify I am wondering how to add a link above the logo in the bar. Thank you for you patience and help.