I have the following directory structure
/htdocs/apps/index.cgi =>
http://..//htdocs/apps/app1/index.cgi =>
http://../app1//htdocs/apps/app2/index.cgi =>
http://../app2/..
/apps/perl/Apps.pm
/apps/perl/Apps1.pm
/apps/perl/Apps2.pm
..
Apps1 and Apps2 "use base ‘Apps’"
Apps "use base ‘CGI::Application’"
/apps/tmpl/_head.tmpl
/apps/tmpl/_foot.tmpl
/apps/tmpl/home.tmpl
..
/apps/app1/tmpl/_head.tmpl
/apps/appl/tmpl/_foot.tmpl
/apps/app1/tmpl/home.tmpl
..
Question: What should my tmpl_path be so I can do the following
<!-- inside /apps/app1/tmpl/home.tmpl -->
<!-- global header -->
<TMPL_INCLUDE ../_head.tmpl>
<!-- app1 header -->
<TMPL_INCLUDE _head.tmpl>
<!-- app1 content -->
<p>Welcome to App 1</p>
<!-- app1 footer -->
<TMPL_INCLUDE _foot.tmpl>
<!-- global footer -->
<TMPL_INCLUDE ../foot.tmpl>
--
Puneet Kishor
http://www.punkish.orgCarbon Model
http://carbonmodel.orgCharter Member, Open Source Geospatial Foundation
http://www.osgeo.orgScience Commons Fellow,
http://sciencecommons.org/about/whoweare/kishorNelson Institute, UW-Madison
http://www.nelson.wisc.edu-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Madison, WI, United States
##### CGI::Application community mailing list ################
## ##
## To unsubscribe, or change your message delivery options, ##
## visit:
http://www.erlbaum.net/mailman/listinfo/cgiapp ##
## ##
## Web archive:
http://www.erlbaum.net/pipermail/cgiapp/ ##
## Wiki:
http://cgiapp.erlbaum.net/ ##
## ##
################################################################