The toolbar seems to work on some scripts and not others....
The type of codes I am using across my scripts are:
if ($hits) {
($DB->hits > $CUSTOM{forum_span}) and ($span = $DB->toolbar());
&site_html_some_sub ({span => Sspan}) and return;
}
In the "Links.pm" file (I've renamed it to Custom.pm), I have the following codes:
$CUSTOM{forum_span} = 10;
Within the template files, I am using:
<%if span%>
<%span%>
<%endif%>
It works fine on some scripts like:
http://members.anthrotech.com/...line.cgi?all_users=1
http://vlib.anthrotech.com/bin/listlinks.cgi
But it doesn't work on scripts like the following:
http://www.anthrotech.com/...;so=asc&search=1
OR
http://www.anthrotech.com/career/?all_res=1
Is there some logic or codes that I am missing?? Is the toolbar only dependent on DB objects (like $LINKSDB) that are defined only in the original LINKS SQL v.1.13 version???
Any thoughts or suggestions are welcome.
========================================
Buh Bye!
Cheers,
Me
The type of codes I am using across my scripts are:
Quote:
if ($hits) {
($DB->hits > $CUSTOM{forum_span}) and ($span = $DB->toolbar());
&site_html_some_sub ({span => Sspan}) and return;
}
In the "Links.pm" file (I've renamed it to Custom.pm), I have the following codes:
Quote:
$CUSTOM{forum_span} = 10;
Within the template files, I am using:
Quote:
<%if span%>
<%span%>
<%endif%>
It works fine on some scripts like:
http://members.anthrotech.com/...line.cgi?all_users=1
http://vlib.anthrotech.com/bin/listlinks.cgi
But it doesn't work on scripts like the following:
http://www.anthrotech.com/...;so=asc&search=1
OR
http://www.anthrotech.com/career/?all_res=1
Is there some logic or codes that I am missing?? Is the toolbar only dependent on DB objects (like $LINKSDB) that are defined only in the original LINKS SQL v.1.13 version???
Any thoughts or suggestions are welcome.
========================================
Buh Bye!
Cheers,
Me