[Zope] Button to pack data base

Dieter Maurer dieter at handshake.de
Tue Dec 9 14:14:55 EST 2003


Brian Sullivan wrote at 2003-12-9 10:53 -0500:
>I would like to include a button or link on a Zope site that would
>allow a user with the right privileges ( what privileges do they need
>-- can I restrict their "management" capability to just the pack
>function?) to pack the data base.
>
>I would like to have it use the appearance of the website, not the
>ZMI. Any idea of how to do this? Directions to code that does this in
>the ZMI that I could examine?

Look at the source of the corresponding ZMI page.
It contains everything you need to know.

This advice is general: whenever you want to realize something
similar to what the ZMI does, look at its source.
With Zope, you have thousands of integrated examples...

-- 
Dieter



More information about the Zope mailing list