Epoz from within ZMI only
Hello, I've only been using Zope for a few weeks, so I eventually hope to look back on my following questions with an affection usually reserved for patient owners of their slow-to-learn dogs. I need to provide content editors with some means of editing HTML-containing File objects from within the ZMI, but using Epoz. So from the management interface I would like to see an additional tab for the File object that, when clicked, shows the contents of the File object within the Epoz editing interface. Am I right in my hunch that I'd have to create some kind of Object that extends File in some way? Am I even on the right path? I really don't know how to start tackling this. I'm developing the website in straight Zope/ZPT/Python. I started down the Plone path with this but eventually decided that the design of the site didn't lend itself well to what I see as Plone's strengths. It seemed like overkill. If anyone could outline how something like this should work and point me in the right direction your assistance would be gratefully received! Thanks for your help, mark
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 22 Sep 2004 07:23 am, mark hellewell wrote:
Am I right in my hunch that I'd have to create some kind of Object that extends File in some way?
Actually, I'd do it slightly differently. I'd subclass File, but override just the manage_editForm page, since that page already presents text/ MIME types for editing. If it's HTML, have it use the Epoz widget instead of a plain textarea. Richard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBUKMPrGisBEHG6TARAnlUAJ0TnIy3gn0isLcAzQLjpjTIgxYQjACfSnzw cipKvIMesqGCe7lMQkxS7mA= =4pI8 -----END PGP SIGNATURE-----
On Wed, 22 Sep 2004 07:54:23 +1000, Richard Jones wrote:
On Wed, 22 Sep 2004 07:23 am, mark hellewell wrote:
Am I right in my hunch that I'd have to create some kind of Object that extends File in some way?
Actually, I'd do it slightly differently. I'd subclass File, but override just the manage_editForm page, since that page already presents text/ MIME types for editing. If it's HTML, have it use the Epoz widget instead of a plain textarea.
Ah, great, could you provide me with a little more information about how to start doing this? Thanks for your reply! mark
Richard
participants (2)
-
mark hellewell -
Richard Jones