At the top of the layout there is your normal "home", "wishlist", "My Account", "Shopping Cart" and "Checkout". I am wanting to add another link at the top that will not destroy any themes or cause issues but preserve the theme. Any idea on how to do this or tutorials?? If you can tell me where to look into editing also would be great.
find this file catalog > view > theme > your theme > template > common > header.tpl
find this code
you can enter your link here using this code
make sure to put code between <div class="links"> and </div> to make it show on the same line as the other links.
find this code
Code: Select all
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
Code: Select all
<a href="http://www.yourlinkhere.com/">Clients</a>
“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford
dude awesome!!! and this will preserve all the CSS?? I will be testing this site in the next month after finishing the catalog
yes, this simply hard codes a link next to the php links. it will not affect anything except having an extra link.
“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford
Who is online
Users browsing this forum: Baidu [Spider], Majestic-12 [Bot] and 34 guests