Gossamer Forum
Home : Products : Links 2.0 : Discussions :

How to "Pass & Grab" Category Path variables in Template.pm

Quote Reply
How to "Pass & Grab" Category Path variables in Template.pm
Bottom Line:
I need to use the following (Links2) variables In Template.pm:
__________________
$build_root_path, $rec{'Category'}, $id, $build_extension
____________________
This is the "birth of my template":
I start out in...
(nph-build.cgi
at sub build_detailed_view)
from there I go to...
print DETAIL &site_html_detailed (%rec);
which brings me into...
site_html_templates.pl at: site_html_detailed
which then takes me to
return &load_template in (db_utils.pl)
which then does its job by going to
require "$db_lib_path/Template.pm";
Now, once we are in Template.pm at:
sub parse {
I want to use the latter variables... BUT I cannot figure out how to get them passed or pick them up if they are already passed.
Could anyone help (alex? I no your are busy doing wonderfull things for us... Smile
Thanks,
TimRyan





Subject Author Views Date
Post How to "Pass & Grab" Category Path variables in Template.pm timryan 714 Jul 31, 1999, 11:27 AM