Skip to main content.
home | support | download

Back to List Archive

Re: Swish-E and CSS

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Apr 15 2004 - 19:46:12 GMT
On Thu, Apr 15, 2004 at 11:24:48AM -0700, Phil Matt wrote:
> 
> All is OK now. Except, I still can't see why the generated HTML from the 
> TemplateDefault mod can't use the html code to call an include of some kind.

With Apache's SSI?  Because that's the way Apache works -- Apache is not
able to filter the output from the forked CGI process.  Apache2 deals
with this with filters.

> I just want to use a small file that holds the site menu, which is
> basically an ordinary <ul> converted into a useful menu with CSS. It's
> called via an include (either a PHP file or an SSI file, depending on
> the page that calls it...) all over the site. The client tends to
> change its mind about menu choices, so I really have to use an
> included file to avoid having to load a zilion instances of the menu
> by hand.

If using the TemplateDefault module to generate output then how about
adding something like:

   print `cat /path/to/include/file`;

-- 
Bill Moseley
moseley@hank.org
Received on Thu Apr 15 12:46:12 2004