View Single Post
  #1  
Old 04-27-2009, 09:40 AM
  DOD467's Avatar 
DOD467 DOD467 is offline
 

Member
  
Join Date: Apr 2008
Posts: 16
 

Default Linking to .pdf in header redirects to home

Hello,

I am trying to have a link to a .pdf catalog in the header. Everything looks right, but when I click on the link, it redirects to the home page. Please help.

in the shared/header/toplinks.tpl:
Quote:
<a href={if $login eq ''}"{$xcart_web_dir}/secure_login.php"{else}"{$xcart_web_dir}/register.php?mode=update"{/if}>
<img src = "{$ImagesDir}/icon_profile.png" />
<span>
{if $login eq ''}
sign in
{else}
my profile
{/if}
</span>
</a>
<a href="{$xcart_web_dir}/cart.php">
<img src = "{$ImagesDir}/icon_cart.png" />
<span>
my cart
</span>
</a>
<a href="{$xcart_web_dir}/cart.php?mode=wishlist">
<img src = "{$ImagesDir}/icon_wishlist.png">
<span>
Easy Refill
</span>
</a>
<a href="{$xcart_web_dir}/help.php?section=contactus&mode=update">
<img src = "{$ImagesDir}/icon_email.png" />
<span>
contact us
</span>
</a>
<img src = "{$ImagesDir}/phone.png" id="phone"/><br>
<a href="{$xcart_web_dir}/public_html/images/DOD_Catalog_Spring_09.pdf" target="_blank">
<img src = "{$ImagesDir}/catalog-cartoon.png" />
<span>
download our catalog
</span>
</a>
Reply With Quote