Hi All.
I KNOW this is a newbie question but can't find the answer and would be really grateful for any advice.
How do i make the store logo link back to my website??
many thanks
Latest News: (loading..)
Store Logo Link
Started by waynerp, Jan 12 2012, 08:49
6 replies to this topic
#1
Posted 12 January 2012, 08:49
#2
Posted 12 January 2012, 08:57
Wayne,
By default, the store logo is linked to your index.php as defined in the /includes/header.php file in this code:
<div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>
Chris
By default, the store logo is linked to your index.php as defined in the /includes/header.php file in this code:
<div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>
Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#3
Posted 12 January 2012, 13:03
thanks for that.
so to change it how would i do that, ie: what part of the code <?php echo '<a href="'ww.abc.com '">'
is that right??
many thanks
so to change it how would i do that, ie: what part of the code <?php echo '<a href="'ww.abc.com '">'
is that right??
many thanks
#4
Posted 12 January 2012, 13:33
like this
<div id="storeLogo"><?php echo '<a href="www.abc.com">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>
#5
Posted 12 January 2012, 19:57
#6
Posted 12 January 2012, 20:33
Change
<div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>to
<div id="storeLogo"><?php echo '<a href="' . HTTP_SERVER . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>Or just add
http://before the www.
Remember to backup database, files and pictures.
I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.
Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?
I reject your reality and substitute my own.
My mind not only wanders, it sometimes leaves completely.
The problem with the gene pool is that there is no lifeguard.
Everyone’s entitled to my opinion.
Links
Security
SSL Help
Basics for design
Basics for design V2.3+
How Do I ...?
#7
Posted 12 January 2012, 21:28
You ARE a superstar
many thanks
many thanks














