Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Sub category ordering in Zoo Categories II
(1 viewing) (1) Guest
Userguide, Report Bugs, New Ideas,...
  • Page:
  • 1

TOPIC: Sub category ordering in Zoo Categories II

Sub category ordering in Zoo Categories II 11 years, 11 months ago #6453

  • hisimage
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Had another post on this but in the last 2 weeks no one had responded so I am starting a new one to see if I can get a response....

I am using SJ Zoo Categories II. You can see the module at our development address at transparentsocialmedia.com/clients/shepenco/website/

In Zoo I can change the sub category order by drag and drop. That order then applies everywhere in zoo except in the SJ module. The main categories (first level) are effected by the Zoo ordering. It is just the subcategories that do not change.

I need to be able to change this to the order that the client has specified.

Is this a bug or have I missed another method for applying the order in the SJ module?

Joomla 2.5.6

Re: Sub category ordering in Zoo Categories II 11 years, 11 months ago #6462

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Tony Young,

It is not a bug.

This module is displayed sub-categories with the descending order.

You can change this order by going to "modules\mod_sj_zoo_categories_ii\core\zoocategoriesiireader.php", finding:

public function getChildCategories($catId,$titleMax,$app){
			$categories = array();
			
			$query = "
				SELECT c.id, c.name as title, c.alias, c.description
				FROM #__zoo_category c
				WHERE
					c.application_id = $app
					AND c.published = 1
					AND c.parent = $catId
			";


=>

public function getChildCategories($catId,$titleMax,$app){
			$categories = array();
			
			$query = "
				SELECT c.id, c.name as title, c.alias, c.description
				FROM #__zoo_category c
				WHERE
					c.application_id = $app
					AND c.published = 1
					AND c.parent = $catId
					ORDER BY c.ordering
			";


Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Sub category ordering in Zoo Categories II 11 years, 11 months ago #6464

  • hisimage
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Thanks for the response!

Is that descending the order of of when the category was added?

If so, is there a way to set the order to follow the order that is set in zoo.

The rest of the system follows this order and it is set by drag and drop so you are not locked into the ascending or descending order of when the category was created or alpha order.

Re: Sub category ordering in Zoo Categories II 11 years, 11 months ago #6479

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Tony Young,

You can refer to the mentioned guide.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
  • Page:
  • 1
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes