Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Hyperlinking image on home page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-29-2010, 12:05 PM
 
teachers111 teachers111 is offline
 

Member
  
Join Date: May 2008
Posts: 25
 

Default Hyperlinking image on home page

A long time ago I added a hyperlink from my homepage image to my main product category. I now have a new bestselling category which I would like as my default go-to when clicking the image. Only problem is I don't remember how I did the link to begin with. I think all I need to change is from cat=3 to cat=255 but where?
__________________
X-Cart-4[1].1.9 gold
Reply With Quote
  #2  
Old 01-29-2010, 01:09 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Hyperlinking image on home page

Depending what template your using basically within skin1/customer/head.tpl
Look for this:
<a href="{$catalogs.customer}/home.php"><img src="{$SkinDir}/abeez_sources/sky_blue/images/yourlogo.png" title="Your" /></a>

Replacing the red highlighted with say:home.php?cat=4 assuming you have no SEO Mods insatlled.

Is this what you mean
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote

The following user thanks gizmo for this useful post:
teachers111 (01-29-2010)
  #3  
Old 01-29-2010, 02:33 PM
 
teachers111 teachers111 is offline
 

Member
  
Join Date: May 2008
Posts: 25
 

Default Re: Hyperlinking image on home page

Thanks, Gizmo!
I have successfully made the change.
__________________
X-Cart-4[1].1.9 gold
Reply With Quote
  #4  
Old 01-29-2010, 02:41 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Hyperlinking image on home page

Your Welcome.
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:43 AM.

   

 
X-Cart forums © 2001-2020