Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [macbethgr] RC 2.99 Cool & New Category Sort Order

Quote Reply
Re: [macbethgr] RC 2.99 Cool & New Category Sort Order In reply to
OK,
Here is what I had to do to change this:

in the sub build_new section of Build.pm I found the following line:

my %names = $catlink->select('LinkID', 'Full_Name', { LinkID => [map $_->{ID}, @$results] })->fetchall_list;

I changed it to:

my %names = $catlink->select('LinkID', 'Name', { LinkID => [map $_->{ID}, @$results] })->fetchall_list;

in the sub build_cool section of Build.pm I found the following line:

my %names = $catlink->select(LinkID => Full_Name => { LinkID => [map $_->{ID}, @$results] })->fetchall_list;

I changed it to:

my %names = $catlink->select(LinkID => Name => { LinkID => [map $_->{ID}, @$results] })->fetchall_list;

I am aware that any updates could whipe out these changes, so I copied the file to a local drive so I can make the changes again if needed. I wish there were an easier way to do this, but I have to sort the categories on New and Cool by Name, not Full_Name.

George
Subject Author Views Date
Thread RC 2.99 Cool & New Category Sort Order macbethgr 3240 Apr 8, 2005, 7:07 AM
Thread Re: [macbethgr] RC 2.99 Cool & New Category Sort Order
rocco 3140 Apr 8, 2005, 8:31 AM
Thread Re: [rocco] RC 2.99 Cool & New Category Sort Order
macbethgr 3151 Apr 8, 2005, 9:40 AM
Thread Re: [macbethgr] RC 2.99 Cool & New Category Sort Order
macbethgr 3117 Apr 9, 2005, 6:12 AM
Thread Re: [macbethgr] RC 2.99 Cool & New Category Sort Order
HyperTherm 3124 Apr 9, 2005, 6:15 AM
Post Re: [HyperTherm] RC 2.99 Cool & New Category Sort Order
macbethgr 3128 Apr 9, 2005, 6:20 AM