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

Please Help I am pulling my hair!!!!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-27-2005, 07:33 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default Please Help I am pulling my hair!!!!

Hello everyone,

I have been going around in circles trying to have this to work but I do not see how. Would you kindly give me a litle bit of help.

I have a nav bar that will have several links to pages in my store here are few:
Referral, Reward Points, Affiliates, Contact Us, Links, and Help

Here is what I have done so far:

In the head.tpl I have added the following alt="" usermap="#header_01" to the line below.

Code:
<TD>[img]{$ImagesDir}/header_01.gif[/img]</TD>

Then I added to rectangle_bottom.tpl the following

<map name="header_01">
<area shape="rect" alt="Help" coords="478,22,548,58" href="http://www.mystore.com/help.php">
<area shape="rect" alt="Links" coords="387,19,470,55" href="http://www.mystore.com/links.php">
<area shape="rect" alt="Contact Us" coords="100,22,187,57" href="http://www.mystore.com/help.php?section=contactus&mode=update">
<area shape="rect" alt="Affiliates" coords="4,22,92,57" href="https://www.mystore.com/partner/home.php">
<area shape="rect" alt="Reward Points" coords="289,19,374,55" href="http://www.mystore.com/Customer-Reward-Points-p-1.html">
<area shape="rect" alt="Refer a Friend" coords="197,20,280,56" href="http://www.mystore.com/crp_referral.php">
</map>


here is the complete rectangle_bottom.tpl
Code:
{* $Id: rectangle_bottom.tpl,v 1.8 2004/06/07 11:19:29 max Exp $ *} </TD> </TR> {if $config.Adaptives.browser eq 'MSIE' || $config.Adaptives.browser eq ''} <TR><TD height="100%">[img]{$ImagesDir}/spacer.gif[/img]</TD></TR> {else} <TR><TD>[img]{$ImagesDir}/spacer.gif[/img]</TD></TR> {/if} <TR> <TD> {if $printable ne ''} <HR size="1"> {/if} { include file="bottom.tpl" } </TD></TR> </TABLE> <map name="header_01"> <area shape="rect" alt="Help" coords="478,22,548,58" href="http://www.mystore.com/help.php"> <area shape="rect" alt="Links" coords="387,19,470,55" href="http://www.mystore.com/links.php"> <area shape="rect" alt="Contact Us" coords="100,22,187,57" href="http://www.mystore.com/help.php?section=contactus&mode=update"> <area shape="rect" alt="Affiliates" coords="4,22,92,57" href="http://www.mystore.com/partner/home.php"> <area shape="rect" alt="Reward Points" coords="289,19,374,55" href="http://www.mystore.com/Customer-Reward-Points-p-1.html"> <area shape="rect" alt="Refer a Friend" coords="197,20,280,56" href="http://www.mystore.com/crp_referral.php"> </map>

Please point me in the correct direction of what I am doing wrong. BTW this is for 4.017

Thank you in advance.

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #2  
Old 12-27-2005, 08:59 PM
 
webmonster webmonster is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 35
 

Default

Keep the code together, Place this where you want it to appear
Code:
[img]{$ImagesDir}/header_01.gif[/img] <map name="header_01"> <area shape="rect" alt="Help" coords="478,22,548,58" href="http://www.mystore.com/help.php"> <area shape="rect" alt="Links" coords="387,19,470,55" href="http://www.mystore.com/links.php"> <area shape="rect" alt="Contact Us" coords="100,22,187,57" href="http://www.mystore.com/help.php?section=contactus&mode=update"> <area shape="rect" alt="Affiliates" coords="4,22,92,57" href="https://www.mystore.com/partner/home.php"> <area shape="rect" alt="Reward Points" coords="289,19,374,55" href="http://www.mystore.com/Customer-Reward-Points-p-1.html"> <area shape="rect" alt="Refer a Friend" coords="197,20,280,56" href="http://www.mystore.com/crp_referral.php"> </map>
__________________
4.1.x
Reply With Quote
  #3  
Old 12-28-2005, 05:39 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

I placed them together just like it was suggested above and still not working any other ideas?

Thanks in Advance.

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #4  
Old 12-28-2005, 05:48 AM
 
webmonster webmonster is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 35
 

Default

What problem are you having? Does the image appear?
__________________
4.1.x
Reply With Quote
  #5  
Old 12-28-2005, 05:58 AM
 
William Hayes William Hayes is offline
 

Advanced Member
  
Join Date: Jan 2004
Location: Waterford, Ireland
Posts: 57
 

Default

Looks like you've spelt the attribute "usemap" incorrectly.

In your code you have "usermap"

Code:
<TD>[img]{$ImagesDir}/header_01.gif[/img]</TD>

I can't see anything else wrong.

W
__________________
Custom xcart Design?
www.brightlight.ie

x-cart 3.x.x
x-cart 4.0.x
Version 4.1.9
Reply With Quote
  #6  
Old 12-28-2005, 10:59 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

William,

Thank you so much that was the problem.

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:14 PM.

   

 
X-Cart forums © 2001-2020