Post by travistigers » Thu Sep 11, 2008 6:22 am

I would like to add a tab/button/link to the "Home - Account - Log off - Basket - Checkout" bar that when clicked will take the visitor to another webpage.  Any suggestions on how to accomplish this?
Thanks!
Andrea

Newbie

Posts

Joined
Tue Sep 09, 2008 12:02 pm

Post by SiteE@se » Thu Sep 11, 2008 6:39 am

Take a look in catalog->template->default->module->header.tpl

It should be apparent how to add another url + associated text link.

Chris @ SiteE@se Web Design


Active Member

Posts

Joined
Mon Dec 17, 2007 7:40 am
Location - UK

Post by travistigers » Wed Sep 17, 2008 5:05 am

??? ???I am sorry.  It isn't apparent to me at all how to accomplish this.  Can someone please explain?
Thanks so much!
Andrea

Newbie

Posts

Joined
Tue Sep 09, 2008 12:02 pm

Post by Qphoria » Wed Sep 17, 2008 5:11 am

Lets look at the contents of that file:

Code: Select all

<div class="a"></div>
<div class="b">
  <a href="<?php echo $home; ?>"><?php echo $text_home; ?></a>
  <a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>
  <?php if (@$login) { ?>
  <a href="<?php echo $login; ?>"><?php echo $text_login; ?></a>
  <?php } else { ?>
  <a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a>
  <?php } ?>
  <a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a>
  <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
</div>
As we can see a very similar structure is forming. all the lines starting with ":

My Link 1
My Link 2

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by travistigers » Tue Sep 23, 2008 10:08 pm

Thank you so much for expliaing!!  I was trying to put too much coding in!  Duh!  Sometime I try to make things more difficult than they really are.  ;) :D

Newbie

Posts

Joined
Tue Sep 09, 2008 12:02 pm
Who is online

Users browsing this forum: No registered users and 3 guests