[Zope] Re: Extensionless Files in Dreamweaver from ZOPE
hpinson@indepthl.com
hpinson@indepthl.com
Tue, 16 Apr 2002 09:24:44 -0600
Hello Roger.
> open a index_html file in dreamwaver from Zope. I try to do
> the same with ZPT Zope Page Templates. Whats the
> solution for to run this on Dreamweaver?
Dreamweaver 4 cannot open a file with no extension, like
index_html, in WYSYWIG mode, though it can open it using the
HTML inspector. My solution was to create a dtml method called
index_html at the site root that looks like this:
<dtml-var standard_html_header>
<dtml-var content_shell>
<dtml-var standard_html_footerr>
Into the dtml content_shell variable I load a ZPT document named
content.htm. Dreamweaver will have no problem opening that since
it has an extension. Each folder (section of your website) has a
content.htm, and through the magic of acquisition, your standard
header and footer will load too, and are sheilded to some extent,
from inadvertant harm.
Then simply change your Dreamweaver FTP port (in Preferences)
to 8021 or whatever you set in your z2.py, go to Site Manager,
connect, and edit normally.
Dreamweaver MX should be out shortly. I hope it will support
extensionless files.
Another solution was to ditch Dreamweaver in favor of JASC Namo
WebEditor, which has no problems opeing files without extensions
in WYSiWIG mode, and is generally a good and affordable
alternative to Dreamweaver. I hope that helps.
Harlow Pinson
Indepth Learning
Email: hpinson@indepthl.com
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678