Hello,
I am new to a template tool kit, and I was wondering if you could shine some light on few things.

I have template toolkit perl etc all installed on my university server.
I have cgi files written , but because they include the html code (footers etc) in them I need to separate these two. Cgi and html.
1. How is this all compiled?
I have example...

*welcome.ttml:*

   [% INCLUDE header %]

   <h1>Hello World</h1>

   <p>[% message %]</p>

   [% INCLUDE footer %]
and header and footer.tpl created in same directory. What now? How do I compile these? do I do $ttproc welcome.ttml > newfile.html //on the command shell or that should be in a file. I was looking over the site but I couldn't find complete example where I could see where the files are and all the steps from the beginning until the end.

Thanks Luke


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to