3
not really to do with profile fieldcategories.
which XOOPS version are you using?
In XOOPS 2.0.x, you should look in userinfo.php, in XOOPS 2.2.x, you should look in modules/profile/userinfo.php
Locate this code:
$module_handler =& xoops_gethandler('module');
$criteria = new CriteriaCompo(new Criteria('hassearch', 1));
$criteria->add(new Criteria('isactive', 1));
$modules =& $module_handler->getObjects($criteria, true);
and add
$criteria->setSort("weight");
so it will look like this:
$module_handler =& xoops_gethandler('module');
$criteria = new CriteriaCompo(new Criteria('hassearch', 1));
$criteria->add(new Criteria('isactive', 1));
[color=red]$criteria->setSort("weight");[/color]
$modules =& $module_handler->getObjects($criteria, true);
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."
Cusix Software