Templates

Anthony Green tony at rarepleasures.co.uk
Mon Jul 16 12:47:01 PDT 2001


I'm using Frontier 7.0 to generate the static HTML pages of my site
www.rarepleasures.co.uk.

The template uses 3 columns and on each page the content of the the three
columns can change (or not) so the template is defined...

<td>{bodytext}</td>
<td>{html.processMacros (string (menu_m))}</td>
<td>{html.processMacros (string (menu_r))}</td>

Then at the top of each page I define the directives thus:

#menu_r "{html.processMacros (string (contact))}"
#menu_m "{html.processMacros (string (competition))}"

And in #tools I have the entries define

Contact
    contact details...

Competition
 This months competition...

I was wondering if anyone had a more elegant solution.
Also is it possible to store data in a custom table instead of #tools or
#glossary

How can I for instance create a table of biographies and still use the macro
replace or glossary feature ?

Regards

Tony
    







More information about the Frontier-Users mailing list