Saturday, August 06, 2005

New Zope3 Skin


Today I developed a skin for Zope3. As is evident from an earlier post, I had been exploring the Django web app dev platform, and after some intensive use and investigation, I returned to zope3. It was like a breath of fresh air. However, I sorely missed the slick interface of Django.

So, I decided to make my own :-)
AdytumAdmin z3 skin

All of my z3 projects will be using this skin (or a derivative) as the default admin skin. This will give clients something they can be happy with/proud of when they visit the ZMI to manage their site, and it will keep me and other developers happy, as we have to look at the ZMI for hours on end each day. If you've worked with z3 at all yet, you know how basic and ugly the default (non) skin is... and thus understand the need for people to start doing this kind of thing.

I would like to note and share my gratitude of the fact that this was based on the ZopeTop skin for Zope3 (I think written by Paul Everitt). Without that work and prior development, this would have been an arduous task. With the work, it was a facile process of tweaking colors and shuffling page/zpt parts around. Simply fantastic.

Once again, z3 shines as a rapid development platform. This was all done in less than a day :-)

Update: This blog post originally pointed to resources that are now no longer available. However, thanks to the Wayback Machine, I've been able to rescue the old instructions from an archived version of the web page.

Setup

There are no docs included with the tarball. You just need to do the following:
  • checkout the adytumadmin directory from svn
  • move the adytumadmin directory into you lib/python directory of your z3 instance
  • create a the file etc/package-includes/adytumadmin-configure.zcml in your z3 instance directory with the following contents:
    <include package="adytumadmin"></include>
  • restart your z3 instance
Access

Access the skin by using ++skin++AdytumAdmin in your URL, e.g.:

http://127.0.0.1:8080/++skin++AdytumAdmin/@@contents.html

If you like this skin enough to make it your default skin and don't want to add it to the URL manually, just add this line to your etc/overrides.zcml file:
<browser:defaultskin name="AdytumAdmin">
Note that it is the skin name and not the skin package that is used.

Screenshots


3 comments:

Anonymous said...

Err, excuse me.
Links are dead ...

Thanks.

Duncan McGreggor said...

I've just updated the post to reflect the location in the svn repository. If I can find an old picture, I'll save it to flickr and update the blog post.

Duncan McGreggor said...

Oh, hey -- looks like I had the good fortune to have put the screenshots in the repsoitory :-) I'll update the post with some linkage.