[Templates] beginner question
hugh baker
hugh@tao.ca
01 Mar 2002 17:04:48 -0500
"Kirk Rogers" <kirk.rogers@verizon.net> writes:
> Thanks. But is there some way to substitute <!--#include
> file=template.html--> to tell the tt that this is the tag I want to use for
> server side includes?
>
you can use server-side includes just as you normally would.
alternatively, take a look at the template toolkit's INCLUDE directive.
http://www.template-toolkit.org/docs/default/Manual/Directives.html
how are you processing your templates?
> Kirk
>
>
> >-----Original Message-----
> >From: hugh@dojo.tao.ca [mailto:hugh@dojo.tao.ca]On Behalf Of hugh baker
> >Sent: Friday, March 01, 2002 8:38 AM
> >To: kirk.rogers@verizon.net
> >Subject: Re: [Templates] beginner question
> >
> >
> >"Kirk Rogers" <kirk.rogers@verizon.net> writes:
> >
> >> hi folks,
> >> this will make some of you a little perturbed, but is there any tool that
> >> allows a beginner web developer to design the tt web pages with
> >a gui tool
> >> such as dreamweaver or something similar? designing the pages by hand is
> >> okay if you have advanced web designers, but im looking for something a
> >> little more basic that can combine the tt directives and display
> >them as a
> >> single page.
> >
> >you should be able to use most any gui tool you want. if you are
> >simply replacing common variables in a page, just insert
> >[% variable %] where you want it. when the page is processed using a
> >tool like ttree(1), the variables will be replaced. check out the tt
> >website for instructions on how to use ttree.
> >
>
>
> _______________________________________________
> templates mailing list
> templates@template-toolkit.org
> http://www.template-toolkit.org/mailman/listinfo/templates
>
--
hugh@tao.ca