You are not logged in Log in Join
You are here: Home » Members » The Haqa @ Zope » New version of Haqa's PatchKit released

Log in
Name

Password

 

New version of Haqa's PatchKit released

Haqa's Patch Kit <<-- Download it here

This product contains a number of small patches to other products within Zope.

This product patches Zope when it installs. As a general rule I would advise against installing this on a production server until you have tested it properly. I have used this patch on Zope versions 2.3.0 and 2.3.1 and it has not killed them..... yet .....

PatchKit is no longer compatible with Zope versions earlier that 2.3.0

You have been warned.

Text File Converter

This patch adds a "Text Convert" tab to DTML Method, DTML Document, and File objects (It only appears for File objects if the content_type starts with "text/").

Its purpose is to allow you to convert an object containing text content to a DTML Document, DTML Method or ZStyleSheet - http://www.zope.org/Members/haqa/ZStyleSheet (If it is installed). Files like StyleSheets (.css) text files (.txt) Server Parsed HTML (.shtml) and a host of other formats get created as File objects when you add them through xml-rpc, WebDAV, or FTP.

Image File Converter

This patch adds an "Image Convert" tab to File objects (It only appears if the content_type starts with "image/").

Its purpose is to allow you to convert an object containing image data to an Image object so that you can take advantage of the facilities it provides (Auto adding WIDTH="" and HEIGHT="" to the IMG tag etc..).

Web Import

This patch adds a "Web Import" tab to Folder objects.

Its purpose is to allow you to import objects from other web sites without having to download to your local machine, and then upload to the Zope server. This, for instance, allows you to manage your Zope from a "Dumb" browser like a WebTV or similar (I don't know who would want to but...).

ZMI Style Patch

This patch changes where the management system looks for its stylesheet. The default sheet (built into App.Management.Navigation) is renamed, and a new function is added that will use this, unless it can find an object in the root of your Zope called manage_page_style in which case it will use that instead. If manage_page_style is a ZStyleSheet version 4.0 or greater, it switches it to ZMI Compatible mode and locks the setting.

Credit where credit is due!

Thanks go to Shane Hathaway for his Refresh Product which contained the patch logic I borrowed. It also more that halved my developement cycle time on this, and my ZStyleSheet products.

Adrian Haqa Hungate <[email protected]>