[Zope] Identifying a page in DTML

Ed Leafe ed@leafe.com
Mon, 24 Jun 2002 09:25:28 -0400


<newbie alert>

I'd like to include some text in my standard_html_header file for 
certain pages, but not for others. I'm not sure how to construct the 
test for the page, though. If I use:

<dtml-if expr="id='myPage'">

that fails because 'id' is not a string. What is the proper way to 
perform this kind of test?

</newbie alert>


      ___/
     /
    __/
   /
  ____/
  Ed Leafe
  http://leafe.com/
  http://foxcentral.net