Here is what I am trying to do.

I am designing a site and all pages in this site have a navigational menu on
the left side which is consistent in look and feel with only one difference
that the current selected menu option is shown highlighted. I want to
separate this HTML code in a HTML file so that I can include it in all the
pages. So if I include this menu HTML file, I need to pass a parameter to
this file to indicate which menu option to highlight. Is this possible using
HTML::Template?

Thanks

-----Original Message-----
From: 'Gyepi SAM' [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 12:42 PM
To: Rustagi, Dhiraj
Cc: '[EMAIL PROTECTED]'
Subject: Re: [htmltmpl] Passing parameters to a Include file


On Thu, Sep 20, 2001 at 12:34:02PM -0400, Rustagi, Dhiraj wrote:
> Thanks.. But then I have to use a CGI file to output this template file.
Is
> that right? So I will have to use SSI directive to execute a CGI program
> which will then load this template.
> 

I don't use SSI, so I can't comment on that.  I assumed that you were using
HTML::Template. If your html files are not pregenerated, I don't see how you
can not be using a CGI script (or mod_perl handler).

If you need further help, please provide more information about your setup,
what you are trying to accomplish, and where it is failing or what you have
tried,
keeping in mind that this list is focused on HTML::Template.

-Gyepi

Reply via email to