Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Toolbar (not working on some scripts)

Quote Reply
Toolbar (not working on some scripts)
The toolbar seems to work on some scripts and not others....

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
Quote Reply
Re: [Chewbaca] Toolbar (not working on some scripts) In reply to
I think you have a typo:

&site_html_some_sub ({span => Sspan}) and return;

...unless that was just when you made the post.

Last edited by:

RedRum: Nov 11, 2001, 10:34 AM
Quote Reply
Re: [RedRum] Toolbar (not working on some scripts) In reply to
Yes, Paul, that was typo within the post (tried taking out extraneous codes)...I do have span => $span in the script in question.
========================================
Buh Bye!

Cheers,
Me