--On 13. März 2006 10:21:15 +0000 John Poltorak <[EMAIL PROTECTED]> wrote:


How do I use a folder name in a macro?

ie I want to change this

<metal:macro metal:use-macro="context/abc.pt/macros/page">

which is in the folder 'abc'

to

<metal:macro metal:use-macro="context/[folder_name].pt/macros/page">

Your question makes little or no sense.

 <metal:macro metal:use-macro="context/abc.pt/macros/page">
                               ^^^^^^^^^^^^^

This part of the of the value is nothing else than a path expression
defining the path to some ZPT using acquisition. The 'macros' referes to the
ZPTs internal 'macros' datastructure and 'page' is the name of macro to be used.

-aj




   -----------------------------------------------------------------------
  -   Andreas Jung            ZOPYX Ltd. & Co KG                        -
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de         -
  -----------------------------------------------------------------------

Attachment: pgpKX7zWTMn6x.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to