I have added a small tiny add-on to the MY Links script, which is a help page within the script.
To see this in action, go to:
anthrotech.com/cgibin/wwwvl/mylinks.cgi?help=1
Here is what you need to do:
1) Add the following codes:
AFTER
in the sub main routine.
2) Add the following sub-routine to the mylinks.cgi script:
#---------------------------------------------------------
# Help Menu for people to set their Cookies.
my $in = shift;
print $in->header();
&site_html_my_help;
return;
}
3) Add the following sub-routine to your site_html_templates.pl file:
# --------------------------------------------------------
# This routine shows the layout of the MY Link Home Page
my $tags = shift;
print &load_template ('my_help.html', {
%$tags,
%globals
});
}
4) Create a template named my_help.html.
If you want to use my template file, feel free. It is located at the following URL:
www.anthrotech.com/cgibin/wwwvl/templates/my_help.html
5) Add a link in your my_home.html file that goes to the Help Page, like the following:
(For those that couldn't figure it out from the example I gave how to link to the Help Page.)
Hope this is helpful.
Regards.
------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------
[This message has been edited by Eliot (edited December 18, 1999).]
[This message has been edited by Eliot (edited December 18, 1999).]
[This message has been edited by Eliot (edited December 18, 1999).]
[This message has been edited by Eliot (edited December 18, 1999).]
To see this in action, go to:
anthrotech.com/cgibin/wwwvl/mylinks.cgi?help=1
Here is what you need to do:
1) Add the following codes:
Code:
elsif ($in->param('help')) { &help ($in); }AFTER
Code:
elsif ($in->param('delete')) { &delete ($in); }in the sub main routine.
2) Add the following sub-routine to the mylinks.cgi script:
Code:
sub help { #---------------------------------------------------------
# Help Menu for people to set their Cookies.
my $in = shift;
print $in->header();
&site_html_my_help;
return;
}
3) Add the following sub-routine to your site_html_templates.pl file:
Code:
sub site_html_my_help { # --------------------------------------------------------
# This routine shows the layout of the MY Link Home Page
my $tags = shift;
print &load_template ('my_help.html', {
%$tags,
%globals
});
}
4) Create a template named my_help.html.
If you want to use my template file, feel free. It is located at the following URL:
www.anthrotech.com/cgibin/wwwvl/templates/my_help.html
5) Add a link in your my_home.html file that goes to the Help Page, like the following:
Code:
<a href="http://www.mydomain.com/cgi-bin/links/mylinks.cgi?help=1">Help Page</a>(For those that couldn't figure it out from the example I gave how to link to the Help Page.)
Hope this is helpful.
Regards.
------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------
[This message has been edited by Eliot (edited December 18, 1999).]
[This message has been edited by Eliot (edited December 18, 1999).]
[This message has been edited by Eliot (edited December 18, 1999).]
[This message has been edited by Eliot (edited December 18, 1999).]