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

Weird Characters in my Sort by options?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-02-2010, 12:11 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Weird Characters in my Sort by options?

It's on every category page.

http://www.littlepuppiesonline.com/Females/

This just started happening and I can't figure out why.

I looked in the language, but I don't see anything. I looked in all the tpl's I could think of.

Anyone know what's going on here?
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #2  
Old 10-02-2010, 02:05 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Weird Characters in my Sort by options?

Broken template. Look for the sort by template and resave it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 10-02-2010, 05:12 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Weird Characters in my Sort by options?

Steve,

I searched for all files in the 4.3.2 skin with the word sort in them.

I repalced them all on the site and ran the cleanup.php. I got nothing.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #4  
Old 10-02-2010, 05:22 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Weird Characters in my Sort by options?

No, it is not the word "sort". It is something with
"skin1/customer/search_sort_by.tpl".
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 10-02-2010, 06:34 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Weird Characters in my Sort by options?

It's got to be in this section

Code:
<span class="search-sort-cell"> {if $name eq $selected} <a href="{$url}&amp;sort={$name}&amp;sort_direction={if $direction eq 1}0{else}1{/if}" title="{$lng.lbl_sort_by|escape}: {$field|escape}" class="search-sort-link {if $direction}down-direction{else}up-direction{/if}">{$field}</a> {else} <a href="{$url}&amp;sort={$name}&amp;sort_direction={$direction}" title="{$lng.lbl_sort_by|escape}: {$field|escape}" class="search-sort-link">{$field}</a> {/if} </span>

I think it's the $field thing, but I have no idea. I assume it's being pushed there from another template.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #6  
Old 11-04-2010, 06:59 PM
  Jarron's Avatar 
Jarron Jarron is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Hong Kong
Posts: 44
 

Default Re: Weird Characters in my Sort by options?

minfinger,

Did you ever work this one out? I'm having the same problem.

Seems to have something to do with the if() condition wrapping around this code in function func_get_langvar_by_name (within the func.core.php file):

PHP Code:
return "~~~~|".$lang_name."|".$language_code."|".$tmp."|~~~~"

I'm stumped. Can't think what I did to cause this and only seems to happen for the Sort labels. Other scripts call func_get_langvar_by_name without issue...

thx,
js
__________________
/Jarron Stephens/X-Cart Gold/4.1.12+4.4
/Marketing Manager/AOM/Returns/Massive Customisation....it hurts
Reply With Quote
  #7  
Old 11-05-2010, 05:40 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Weird Characters in my Sort by options?

I gave up. But I will look into that.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #8  
Old 11-05-2010, 06:06 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Weird Characters in my Sort by options?

Yeah I still got nothing. Just as confused.
__________________
X-Cart 4.3
Joomla
Among other things
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 04:52 AM.

   

 
X-Cart forums © 2001-2020