Page 1 of 1
Arange category in alfabetical order
Posted: Sat 24. Jan 2009, 16:02
by culda_a
How can I arange the new created categorys on the admin in alfabetical order?
Re: Arange category in alfabetical order
Posted: Mon 26. Jan 2009, 18:23
by juergen
Hey you there
what do you mean with
on the admin ?
Re: Arange category in alfabetical order
Posted: Mon 26. Jan 2009, 21:45
by culda_a
this is the backend menu:
HOME ARTICLE FILE MODULES COMMUNICATION PROFILE ADMIN
the Admin - where we create the categorys, how can I set to put all the new category in alfabetical order?
Re: Arange category in alfabetical order
Posted: Mon 26. Jan 2009, 22:00
by juergen
hmmm,
this is not possible, only if you sort before typing in.. all operations obey to category ids ..you can not leave them out. So for that, no reason to do such things, if you like to have you need to code this.
Re: Arange category in alfabetical order
Posted: Mon 26. Jan 2009, 22:35
by update
Getting acquainted with the alphabet you can easily do it by hand
Re: Arange category in alfabetical order
Posted: Tue 27. Jan 2009, 06:26
by juergen
As far as I know Mr Package, he 'll have around 2 1/2 Million Entries *g
Re: Arange category in alfabetical order
Posted: Tue 27. Jan 2009, 08:54
by culda_a
You are right DF6IH so any sugestion how can I set it to put it automaticly in alfabetical order what do i HAVE TO CHANGE ?
Re: Arange category in alfabetical order
Posted: Tue 27. Jan 2009, 13:25
by juergen
in include/inc_lib/genenral.inc.php :
Code: Select all
function get_order_sort($order=0, $resort=0) {
// for getting right article structure sorting INT
// $o[0] = $acat_order; $o[1] = $acat_ordersort;
$o = array(3);
$order = intval($order);
switch($order) {
case 0: $o[0] = 0; $o[1] = 0; $o[2] = ' article_sort ASC'; break;
case 1: $o[0] = 0; $o[1] = 1; $o[2] = ' article_sort DESC'; break;
case 2: $o[0] = 2; $o[1] = 0; $o[2] = ' article_created ASC'; break;
case 3: $o[0] = 2; $o[1] = 1; $o[2] = ' article_created DESC'; break;
case 4: $o[0] = 4; $o[1] = 0; $o[2] = ' article_tstamp ASC'; break;
case 5: $o[0] = 4; $o[1] = 1; $o[2] = ' article_tstamp DESC'; break;
case 6: $o[0] = 6; $o[1] = 0; $o[2] = ' article_begin ASC'; break;
case 7: $o[0] = 6; $o[1] = 1; $o[2] = ' article_begin DESC'; break;
case 8: $o[0] = 8; $o[1] = 0; $o[2] = ' article_title ASC'; break;
case 9: $o[0] = 8; $o[1] = 1; $o[2] = ' article_title DESC'; break;
case 10: $o[0] = 10; $o[1] = 0; $o[2] = ' article_end ASC'; break;
case 11: $o[0] = 10; $o[1] = 1; $o[2] = ' article_end DESC'; break;
}
$o[2] = ' article_priorize DESC,'.$o[2];
return $o;
}
anything is possible but not name
There is only a way in hacking the core, what makes no good sense for me. Perhaps you should opne an issue for that !
Re: Arange category in alfabetical order
Posted: Tue 27. Jan 2009, 14:19
by culda_a
so there is no way to arange the category did I understand right?, I think will be great if is possible to arange in alfabetical order also built in
Re: Arange category in alfabetical order
Posted: Fri 30. Jan 2009, 09:51
by culda_a
Is there any solution in order arange the category in alfabetical order, even if I try to arange the category manualy it jumps ramdomly up and dow depends on what arow I press (up or down) Is not going one by one up or down...