| Re: Profile Module - Field weight: > 9 incorrect display |
| by maxxy on 2010/1/11 14:02:59 tested in XOOPS 2.4.3 ... it works Thank you trabis |
| Re: Profile Module - Field weight: > 9 incorrect display |
| by trabis on 2010/1/11 13:33:25 deka/maxy, please review my last post. |
| Re: Profile Module - Field weight: > 9 incorrect display |
| by trabis on 2010/1/10 14:41:47 Please test in profile/userinfo.php line after line 155: le="color: #000000"><?php $profile_handler = xoops_getmodulehandler('profile'); $profile = $profile_handler->get($thisUser->getVar('uid')); // Add dynamic fields foreach (array_keys($fields) as $i) { //If field is not visible, skip //if ( $field_ids_visible && !in_array($fields[$i]->getVar('field_id'), $field_ids_visible) ) continue; if (!in_array($fields[$i]->getVar('field_id'), $field_ids_visible)) { continue; } $cat_id = $fields[$i]->getVar('cat_id'); $value = $fields[$i]->getOutputValue($thisUser, $profile); if (is_array($value)) { $value = implode('<br />', array_values($value) ); } if ($value) { $categories[$cat_id]['fields'][] = array('title' => $fields[$i]->getVar('field_title'), 'value' => $value); $weights[$cat_id][] = $fields[$i]->getVar('cat_id'); } } $GLOBALS['xoopsTpl']->assign('categories', $categories); // Dynamic user profiles end if ($GLOBALS['xoopsModuleConfig']['profile_search']) {
|
| Re: Profile Module - Field weight: > 9 incorrect display |
| by maxxy on 2010/1/5 10:11:54 bump |
| Re: Profile Module - Field weight: > 9 incorrect display |
| by maxxy on 2009/12/31 17:13:58 can someone report this bug to svn ? |