The line numbers I am referencing are may or may not be correct in your file.
Line 778 in link.class.php is
Code:
$category_path_with_link_1stonly = $category_path_with_link;
Directly below that insert this:
Code:
$category_name = $category_obj->GetCategoryName($category_id);
Now on line 1037 you will see this bach of code:
Code:
$tpl->assign('chk_box', $chk_box);
$tpl->assign('category_path', $category_path);
$tpl->assign('category_path_1stonly', $category_path_1stonly);
$tpl->assign('category_path_with_link', $category_path_with_link);
$tpl->assign('category_path_with_link_1stonly', $category_path_with_link_1stonly);
$tpl->assign('disp_url', $disp_url);
$tpl->assign('link_icon', $link_icon);
Insert this directly below it:
Code:
$tpl->assign('category_name', $category_name);
The category name is not passed to the detail_link file. This will pass it to the file. You then call it with <%$category_name%> as you did earlier.
Regards
Wayne