Hi.
It’s seem you need to do changes also in the genTreeLink function… you need to add there parameter ‘iscustom’ like loadFrame2 funtion.
// Helper functions for treeview generation.
function genTreeLink($frame, $name, $title, $mono = false, $iscustom=false )
{
global $primary_docs, $disallowed;
if (empty($disallowed[$name])) {
$id = $name . $primary_docs[$name][1];
echo "<li><a href='' id='$id' onclick=\"";
if ($mono) {
if ($frame == 'RTop') {
echo "forceSpec(true,false);";
} else {
echo "forceSpec(false,true);";
}
}
echo "return loadFrame2('$id','$frame','" .
$primary_docs[$name][2] . "',$iscustom)\">" . $title . ($name == 'msg' ? ' <span id="reminderCountSpan" class="bold"></span>' : '')."</a></li>";
}
}
Try it…
If you want to put your new link in the category of modules or report I can help you to create new module that redirects to external url. this better if you plan to upgrade your project in the future.
Amiel