I am not sure whether this helps. Please try.
Under your drupalPath\theme directory find your theme and add the following function to your templete.php file. If you do not have a templete.php you have to create one. And change the YOURTHEME with your theme. This avoids the link form expandable items.
<?php
function YOURTHEME_uc_catalog_item($here, $active_link = '', $lis, $expand, $inpath, $link, $count_children ){
$output='';
if ($expand || $count_children){
if ($here){
$output = '<li class="expanded"><strong>'. $active_link ."</strong>\n";
if (count($lis)){
$output .= '<ul class="menu">';
foreach ($lis as $li){
$output .= $li ."\n";
}
$output .= "</ul>\n";
}
$output .= "</li>";
}
elseif ($expand || $inpath){
if (count($lis)) {
$mylink = substr($link,strpos($link, '">')+2);
$mylink = str_replace('</a>','',$mylink);
$output = '<li class="expanded">'. ($referer == $branch_path ? '<strong>' : '') . $mylink . ($referer == $branch_path ? '</strong>' : '') ."\n";
}
else {
$output = '<li class="expanded">'. ($referer == $branch_path ? '<strong>' : '') . $link . ($referer == $branch_path ? '</strong>' : '') ."\n";
}
if (count($lis)){
$output .= '<ul class="menu">';
foreach ($lis as $li){
$output .= $li;
}
$output .= "</ul>\n";
}
$output .= "</li>";
}
else{
$output = '<li class="collapsed">'. $link ."</li>\n";
}
}
else{
$output = '<li class="leaf">'. ($inpath ? '<strong>' : '') . ($here ? $active_link : $link) . ($inpath ? '</strong>' : '') .'</li>'. "\n";
}
return $output;
}
?>


Joined: 01/23/2008