Also Sprach Evan Simpson <evan@4-am.com> on Mon, Jun 17, 2002 at 08:06:15PM PDT:
hpinson@indepthl.com wrote:
Has anyone else experienced this? Dreamweaver MX seems to completely replace ZPT XML tags.
It isn't Dreamweaver doing this -- it's Zope. Since the actual GET request sent by a WebDAV client such as Dreamweaver looks just like a plain old browser request, Zope executes whatever you ask for instead of giving you the source code. You need to set up a WebDAV source port (by adding "-W 8081" to your command line, for instance) and then point DreamWeaver at that port.
I've seen similar results. I was playing around with "Kate" (the KDE text editor), which supports WebDAV (well, there's a webdav kioslave, but the effect is the same). I had WebDAV in ZServer running and I was using the correct port, because I didn't at first and was only able to get the pages in published form (or whatever you'd call it after the templates and such have been expanded). I could edit my template page just fine, but when I would open a page that used the template (slots and such were filled in, done through the web interface), it just gave me the template with default content again and ignored the content I'd already assigned to the page. I'm completely new to Zope and might have done something wrong with inheritance or something. Wil -- W. Reilly Cooley wcooley@nakedape.cc Naked Ape Consulting http://nakedape.cc * Linux and Network Consulting * irc.linux.com #orlug,#lnxs A prohibitionist is the sort of man one wouldn't care to drink with -- even if he drank. -- H.L. Mencken