Fix for Thene over ride for Nice_Menus to remove the text link and replace with an image

  1.         if ($mlid!='694') { //if the mlid is NOT 694 then simply use the expected text as the link-text
  2.         $output .= '<li id="menu-'. $mlid .'" class="'. $parent_class . $path_class .'">'. $bar_here . theme('menu_item_link', $menu_item['link']);
  3.                         }
  4.         else {  // If the mlid IS 694 then do the following
  5.         $menu_item['link']['title']= '                 '; //replace the link-title with an empty space. ONLY 1 is accepted the rest are truncated
  6. //      print_r($menu_item['link']);
  7.         $output .= '<li id="menu-'. $mlid .'" class="'. $parent_class . $path_class .'">'. $bar_here . theme('menu_item_link', $menu_item['link']);
  8. }
  9.         // Now I have taken the #menu-694 and themed a background image into the <li> but the only active region for the link is a single space bar,

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.