[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Zope Page Templates

webmaster at zope.org webmaster at zope.org
Tue Nov 4 10:22:47 EST 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx#2-53

---------------

    **NOTE: If you're trying to save to Zope via an editor like
    Netscape Composer or Amaya via HTTP 'PUT' (as opposed to FTP or
    DAV), but you're having problems, try saving the file to
    'http://localhost:8080/FileLib/index_html/source.html' instead of
    the URL specified above.  Appending '/source.html' to the Zope
    object name is a "hack" which Page Templates support to get around
    the fact that HTTP PUT attemtpts to *render* the page before doing
    the PUT, but we actually just want to save the unrendered source.
    If you're creating an XML file, the "magic" hackaround name is
    '/source.xml' instead of '/source.html'.**

      % Anonymous User - Nov. 4, 2003 10:22 am:
       END of the digression.  But what is the simple way to create that content in index_html????



More information about the ZDP mailing list