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

4.0.x Adding "Class" to HREF?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-18-2005, 09:16 AM
 
mream mream is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 50
 

Default 4.0.x Adding "Class" to HREF?

I have a php file that works great on its own. It generates standard href links.

When I put the exact same code in one of my templates, the links are generated, but a "class" is added to my href, with the text being pulled from somewhere -- presumably something from the php file.

This started happening when I went to 4.0.11, and continues on 4.0.12.

Does anyone know if/why/how the "class" variable would be inserted, and how I can stop it?

Thanks,
__________________
Matt
X-Cart Gold 4.0.11
Apache 1.3.29 (Unix)
PHP 4.3.4
Reply With Quote
  #2  
Old 03-19-2005, 07:41 PM
 
mream mream is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 50
 

Default

Ok, how about places to look? Hints, ideas?

Thanks,
__________________
Matt
X-Cart Gold 4.0.11
Apache 1.3.29 (Unix)
PHP 4.3.4
Reply With Quote
  #3  
Old 03-19-2005, 07:44 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

What do you mean when a class is being added. Do you mean that all the href links have a class="whatever" added to the links, or that a style is being applied to the links?
Reply With Quote
  #4  
Old 03-22-2005, 05:52 AM
 
mream mream is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 50
 

Default

They all have a class="whatever" inserted.

Here is the site: http://www.raiseyourpulse.com
__________________
Matt
X-Cart Gold 4.0.11
Apache 1.3.29 (Unix)
PHP 4.3.4
Reply With Quote
  #5  
Old 03-22-2005, 06:54 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

I am assuming that you are refering to the links at the bottom of the page.

Please show us the template code that you are using to display those links.
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 08:35 AM.

   

 
X-Cart forums © 2001-2020