Setting Catagorie Order

Is it possible to put the categories in a specific order?

 

I would like to have some news categories before others...

 

Thank you

Quote · 31 Aug 2011

maybe

 

http://www.boonex.com/m/Categories_Slider

Quote · 31 Aug 2011

maybe

http://www.boonex.com/m/Categories_Slider

 

Nope did not work for me.

 

Followed the instructions. But when I go to settings, categories, then select the News Mod from modzzz) I see all the news items, (looks like folder icons)

 

But none of the items move. They have "select" boxes, on their left, tha's it...  Ideas?

Thank you

 

Quote · 1 Sep 2011

Im trying to figure this out also. 

The cat slider mod wont do it for me either. It will change the order of cats in the drop down list when creating a listing, but does not effect the order of cats in the cat display page block on any module.

 

I have some mods by Modzzz that re-order their cat page block so its in alphabetical order which is better than the default boonex way that just seems to be last made goes to top of list... with no function to re-order them in place!

 

Basic function thats missing here...

 

If I create a cat list for the events module for example, with 20 cats, then I want to create a new cat but do not want it to go to the top of the cat page block, Im screwed unless I delete all cats, then re create them with the new cat in the right place. Should be a assign order function in admin.

Quote · 9 Nov 2011

Try this and tell me if that does it for you....

in the file inc/classes/BxDolCategories.php

 

Around line 122 find this

        if (isset($aParam['orderby']))

        {

            if ($aParam['orderby'] == 'popular')

                $sGroupBy .= " ORDER BY `count` DESC, `{$this->aTagFields['tag']}` ASC";

            else if ($aParam['orderby'] == 'recent')

                $sGroupBy .= " ORDER BY `{$this->aTagFields['date']}` DESC, `{$this->aTagFields['tag']}` ASC";

        }

ADD THIS

else{

$sGroupBy .= " ORDER BY `{$this->aTagFields['tag']}` ASC";

}

Tell me if that works for you.  It Seems to work for me so far with limited testing before I am off to work.


http://www.mytikibar.com
Quote · 9 Nov 2011

Are you adding the red text straight after the green? Or replacing any?

I tried adding straight after, cleaned cache etc but didnt do anything. 

Try this and tell me if that does it for you....

in the file inc/classes/BxDolCategories.php

 

Around line 122 find this

        if (isset($aParam['orderby']))

        {

            if ($aParam['orderby'] == 'popular')

                $sGroupBy .= " ORDER BY `count` DESC, `{$this->aTagFields['tag']}` ASC";

            else if ($aParam['orderby'] == 'recent')

                $sGroupBy .= " ORDER BY `{$this->aTagFields['date']}` DESC, `{$this->aTagFields['tag']}` ASC";

        }

ADD THIS

else{

$sGroupBy .= " ORDER BY `{$this->aTagFields['tag']}` ASC";

}

Tell me if that works for you.  It Seems to work for me so far with limited testing before I am off to work.


 

Quote · 9 Nov 2011
I added this early tips morning. It seemed to help with a mod that displays games by categories. What section are you trying to sort the categories? I will look at it more when I get home.
http://www.mytikibar.com
Quote · 9 Nov 2011

 Trying to reorder the events in 'Groups' mod. The ones displaying in the categories block.

 

I added this early tips morning. It seemed to help with a mod that displays games by categories. What section are you trying to sort the categories? I will look at it more when I get home.

 

Quote · 9 Nov 2011

Did you ever find a fix for this? I'm also trying to sort the categories in the cat block.

Quote · 4 Feb 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.