[Zope-CMF] Extending the DTML Language...

Richard Shebora rlist@apogee-tech.com
Wed, 12 Sep 2001 14:48:45 -0400


You could come close without a new tag.  Just define a variable and call it
within each cell.  Not any more work and allows global type changes on a
range of cells.  This also lets you have more than one font variable and
therefore multiple font commands thoughout your table, for headers, detail
and footers, for instance.

Hope this helps...

Richard

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Josef Albert Meile
Sent: Wednesday, September 12, 2001 1:49 PM
To: Zope-CMF@zope.org
Subject: [Zope-CMF] Extending the DTML Language...


Hello to everybody!

I would like to know if it is possible to create new dtml tags in the
CMF-Portal Product and how. For example, I would like to create a Tag
that changes the font type and font size of a text in a table cell.
In HTML it would be:

<td>
  <font face="Verdana, Arial" size="3">
    My text goes here
  </font>
</td>

My extended tag would be like this:

<dmtl-td>
  My text goes here
</dtml-td>

Thanks,
Josef.


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests