Webmastersite.net
Register Log In

category secondary order
not working

Comments on category secondary order

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Sep 25, 2005 - 3:58 PM:

I'm using a custom 'orden' field as the first criteria for category order. As a second criteria I have selected by name descending. The second criteria variable seems not to be working. Tested at categories and subcategories.

Thanks.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 29, 2005 - 1:08 PM:

Fix will be uploaded later today, overwrite index.php.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Oct 02, 2005 - 2:46 PM:

Thanks Paul,

Now working fine for the list of Sub-Categories displayed at each category page.

At the main page, sub-categories displayed under each category are not ordered accordingly. Could it be possible to consider this same feature to apply for subcategories displayed at the main page too please.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 03, 2005 - 11:54 PM:

Open functions.php, replace
  $order = $settings->ordercats;
if ($settings->ordercatselector != '') $order = $settings->ordercatselector;
with
  $order = $settings->ordercats;
if ($settings->ordercatselector != '') $order = $settings->ordercatselector;
if ($settings->ordercats2 != '') $order .= ','. str_replace('ORDER BY ', ',', $settings->ordercats2);
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.