[ZPT] METAL expansion only when editing

Peter Bengtsson mail@peterbe.com
Thu, 6 Sep 2001 18:53:20 +0200


I have a site; with lots of little pieces of PageTemplates. Some just
contain a little HTML table on 10 lines.
There is no one page that I can open in Dreamweaver (if I'd want to) and
have a look of how all will look.
index_html looks like this:

<html metalstuff>
<div fillstuff>
      <div tal:replace="here/thistable"/>
      <div tal:replace="here/thattable"/>
      <div tal:replace="here/thistext"/>
</div>
</html>
(almost)

So, here's my simple problem:

 1) I want to have the cool functionality of METAL when editing so that I
can have a header and footer around little tables in Dreamweaver.

 2) When rendered as a webpage I want no METAL expansion.

Is this possible without a hack?
With a hack? A hack?


Cheers, Peter