[geeklog-devel] Links plugin bugs

Joe Mucchiello joe at ThrowingDice.com
Tue Sep 25 00:33:19 EDT 2007


I just grabbed the nightly tarball and found the following bug on the 
links category admin screen. The add child,


function plugin_getListField_categories($fieldname, $fieldvalue, $A, $icon_arr)
             case 'addchild';
                 if ($access == 3) {
                     $retval = COM_createLink(
                         $icon_arr['addchild'],   /////// 
<<<-------- No addchild in $icon_arr
                         "{$_CONF['site_admin_url']}/plugins/links/category.php?mode=edit&pid={$A['cid']}"
                     );
                 }
                 break;

$icon_arr in ADMIN_list and ADMIN_simplelist only has entries for 
'edit', 'copy' and 'list'.

Also, the category editor does not handle NULL topics well. You 
should be able to put links into ALL topics (presumably using NULL) 
like the default link to geeklog.net has a NULL tid. But the drop box 
for the topics doesn't include an ALL position. Likewise this should 
probably does something special when tid is null:

function plugin_getListField_categories($fieldname, $fieldvalue, $A, $icon_arr)
             case 'topic';
                 $retval = $A['tid'];
                 break;



----
Joe Mucchiello
Throwing Dice Games
http://www.throwingdice.com 




More information about the geeklog-devel mailing list