Ok, this is my first attempt at installing a plugin and looks like I failed...
I installed the Detailed Page from the admin interface, but how do I call it from the page? I did look up the file under plugins and it says:
sub help {
# -------------------------------------------------------------------
# This subroutine will get called whenever the user clicks
# on 'Help' in the admin menu. Remember, you need to print
# your own content-type headers, you should use
#
# print $IN->header();
#
print $IN->header();
print Links::header ('Help Menu', qq|
<FONT SIZE=2>
<B>Bad_Link.cgi</B> should be in your LinkSQL CGI directory -- where jump.cgi,
etc are located. It needs to be chmod 755 .
<P>
Call this from your templates or pages as
<P>
<PRE><FONT SIZE=2>
<A href="<%db_cgi_url%>/detail_page.cgi?ID=<%ID%>">Detail Page Exists </A>
</FONT></PRE>
<P>
The only parameter the program expects -- or looks for -- is ID=nnnn
It requires it, or you get an error (can't jump to a blank link!)
<P> There is NO REASON to call this
script in any way other than the above! It will do all the work once you tell
it which link you want to report! Just pass it an ID!!
</FONT>
|);
}
# Always end with a 1.
1;
What exactly am I supposed to put in the template?!?!
If you love cats - visit www.TheCatSite.com
Visit my LinkSQL based Cat Site - www.Meowhoo.com
I installed the Detailed Page from the admin interface, but how do I call it from the page? I did look up the file under plugins and it says:
sub help {
# -------------------------------------------------------------------
# This subroutine will get called whenever the user clicks
# on 'Help' in the admin menu. Remember, you need to print
# your own content-type headers, you should use
#
# print $IN->header();
#
print $IN->header();
print Links::header ('Help Menu', qq|
<FONT SIZE=2>
<B>Bad_Link.cgi</B> should be in your LinkSQL CGI directory -- where jump.cgi,
etc are located. It needs to be chmod 755 .
<P>
Call this from your templates or pages as
<P>
<PRE><FONT SIZE=2>
<A href="<%db_cgi_url%>/detail_page.cgi?ID=<%ID%>">Detail Page Exists </A>
</FONT></PRE>
<P>
The only parameter the program expects -- or looks for -- is ID=nnnn
It requires it, or you get an error (can't jump to a blank link!)
<P> There is NO REASON to call this
script in any way other than the above! It will do all the work once you tell
it which link you want to report! Just pass it an ID!!
</FONT>
|);
}
# Always end with a 1.
1;
What exactly am I supposed to put in the template?!?!
If you love cats - visit www.TheCatSite.com
Visit my LinkSQL based Cat Site - www.Meowhoo.com