[SOLVED] jobs 1.0 module - sorting departments alphabetically

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
tonypb
Forum Members
Forum Members
Posts: 104
Joined: Tue Nov 20, 2007 12:16 am

[SOLVED] jobs 1.0 module - sorting departments alphabetically

Post by tonypb »

is there a way to force this module to show departments alphabetically?

http://www.aerainc.org/index.php?page=e ... ortunities

you will notice (im using departments as "categories") that they show up

Overseas
Volunteer
Part Time

id like it to be

Overseas
Part Time
Volunteer
Last edited by tonypb on Thu Feb 21, 2008 3:34 am, edited 1 time in total.
patino-burch design
Anthony Patino-Burch
User avatar
tonypb
Forum Members
Forum Members
Posts: 104
Joined: Tue Nov 20, 2007 12:16 am

Re: jobs 1.0 module - sorting departments alphabetically

Post by tonypb »

OK... had somebody take a look at this for me and they were able to fix it... this is what they did:

It is in action.default.php, line 198, i added one row:
ksort($entryarray);
patino-burch design
Anthony Patino-Burch
Post Reply

Return to “CMSMS Core”