beachcomber1999 Posted February 6, 2007 Share Posted February 6, 2007 When I click on category or what's new, the table appears, showing what products are available. In the heading of the table, next to the words Product Name a plus appears, e.g. Product Name+ I want to get rid of the plus. I've looked in catalog/includes/languages/english/index.php and also in public_htm/includes/languages/english/index.php and the line referring to the table heading says: define('TABLE_HEADING_PRODUCTS', 'Product Name'); There doesn't appear to be any reference to the plus sign. Can anyone please advise where I should be looking to get rid of this. Thanks. Link to comment Share on other sites More sharing options...
jonquil Posted February 7, 2007 Share Posted February 7, 2007 Just a thought -- includes/functions/general.php ( Line 861): $sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>'; jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
beachcomber1999 Posted February 7, 2007 Author Share Posted February 7, 2007 Just a thought -- includes/functions/general.php ( Line 861): $sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>'; jon Hi Jon, found that code in general.php but what should I remove? Cheers,Michelle Link to comment Share on other sites More sharing options...
jonquil Posted February 7, 2007 Share Posted February 7, 2007 I want to get rid of the plus. It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
Velveeta Posted February 7, 2007 Share Posted February 7, 2007 Hi Jon, found that code in general.php but what should I remove?Cheers,Michelle That code he pointed you to just tells which direction that particular column is sorted by, so if you want to remove it altogether, you can just set that variable equal to '', otherwise, you could stick in an image of an up/down arrow, or whatever you wanted to use to denote how the columns are sorted... Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
jonquil Posted February 7, 2007 Share Posted February 7, 2007 Michelle, See my PM. :) jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
catalepticstate Posted October 30, 2008 Share Posted October 30, 2008 remove ". $sort_suffix" from the following line: return $sort_prefix . $heading . $sort_suffix; So it becomes: return $sort_prefix . $heading ; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.