Hi
I am trying to come up with a global to identify the users with Mylinks saved on file so I can present them with a special notes and menu tage..
I have created a global called: if_user_mylinks
sub {
my $tags = shift;
my $db = $DB->table ('MyLinks','Users');
my $mylinks = $db->select ({UserID=>$tags->{UserID}},['Username'])->fetchrow_array;
if ($mylinks) {return $mylinks;}
else {return;}
}
Then in include_menu.html i used
<%if if_user_mylinks%>
MyLinks Home
<%endif%>
but that is not working?
Any suggestions..?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
I am trying to come up with a global to identify the users with Mylinks saved on file so I can present them with a special notes and menu tage..
I have created a global called: if_user_mylinks
sub {
my $tags = shift;
my $db = $DB->table ('MyLinks','Users');
my $mylinks = $db->select ({UserID=>$tags->{UserID}},['Username'])->fetchrow_array;
if ($mylinks) {return $mylinks;}
else {return;}
}
Then in include_menu.html i used
<%if if_user_mylinks%>
MyLinks Home
<%endif%>
but that is not working?
Any suggestions..?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory

