9 Dec
2003
9 Dec
'03
7:14 p.m.
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