[Zope] Dreamweaver and _notes
Chris Withers
chrisw@nipltd.com
Fri, 11 Feb 2000 17:03:27 +0000
> You saw you are using Dreamweaver to edit your dtml along
> with checkin/checkout. How do you do that? The Zope ftp
> server will allow you so see the files but all files are
> without extensions. How did you get Dreamweaver to recognize
> them as html like files?
I didn't, I cheated with a little help from this list ;-)
Firstly, give any files you want to edit a .html extension or get a Mac (the Mac
version of Dreamweaver treats files without an extension as html)
Secondly, so you can have index.html instead of index_html, rename index_html to
index.html and create a new DTML method called index_html containing the
following line only:
<dtml-var index.html>
Neat, huh? ;-)
(you even get to protect your methods because you can't open them in DW!)
Chris
>
> Chip
>
> >-----Original Message-----
> >From: zope-admin@zope.org [mailto:zope-admin@zope.org]On
> >Behalf Of Chris
> >Withers
> >Sent: Friday, February 11, 2000 5:25 AM
> >To: Zope Mailing List
> >Subject: [Zope] Dreamweaver and _notes
> >
> >
> >Hi,
> >
> >I think this problem is best solved by modifying Dreamweaver,
> >but since their
> >news server is down I thought I'd ask here.
> >
> >I use Dreamweaver to edit the content of my Zope site. It
> >works very well,
> >including Dreamweaver's check in/check out stuff. It also has
> >a system for
> >keeping Design Notes associated with your files.
> >Unfortunately, it chooses to
> >store them in a folder called _notes on the server.
> >
> >Zope doesn't like folders that start with and _ so it doesn't work.
> >In Dreamweaver, there is a file called FileClass.js which
> >specified a constant
> >that is '_notes.' However, changing this doesn't seem to
> >affect Dreamweaver as
> >it still tries to create the _notes folder.
> >
> >So, is there any way to ACTUALLY change this in Dreamweaver
> >(like compiling the
> >javascript of something) or is there any way to sort it out at
> >the Zope end?
> >
> >cheers for any help,
> >
> >Chris
> >
> >_______________________________________________
> >Zope maillist - Zope@zope.org
> >http://lists.zope.org/mailman/listinfo/zope
> >** No cross posts or HTML encoding! **
> >(Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> >