Categories in Accordion menu always sort descending

Posted By TheCalicoTree Mon 8 Aug 2011
Add to Favorites0
Author Message
TheCalicoTree
 Posted Mon 8 Aug 2011
Supreme Being

Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)

Group: Forum Members
Last Active: Thu 18 Jun 2015
Posts: 98, Visits: 1,382
I am using the accordion menu for my categories and no matter which option I select for the sorting of sub categories they are always displaying in descending order:

http://mellcrest.thecalicotree.co.uk/kartris/Default.aspx?

Has anyone else experienced this problem? I am sure that there must be a setting that I have changed that is conflicting with another perhaps?


Any ideas?

Thanks
Mohammad
 Posted Mon 8 Aug 2011
Kartris Expert

Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)Kartris Expert - (78,823 reputation)

Group: Administrators
Last Active: Sun 27 Sep 2015
Posts: 115, Visits: 706
Yeah, we experienced that in Kartris v1.3x, and will be fixed in the next release.

Follow the below steps to have it fixed:

1. Go to {Kartris_Folder}\UserControls\Skin\CategoryMenuAccordion.ascx.vb
2. In line# 67 replace this:
For numSubCounter As Integer = 0 To nodSiteMap.ChildNodes.Count - 1

By this:
For numSubCounter As Integer = nodSiteMap.ChildNodes.Count - 1 To 0 Step -1

Then save the file and here you go.
TheCalicoTree
 Posted Mon 15 Aug 2011
Supreme Being

Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)Supreme Being - (70,660 reputation)

Group: Forum Members
Last Active: Thu 18 Jun 2015
Posts: 98, Visits: 1,382
Thanks, that fix worked.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top