Forum OpenACS Development: Response to Can't delete unmounted ETP instance

Collapse
Posted by Jowell Sabino on
Wow... we really need to document APM carefully. Indeed, you can create a tcl proc that does stuff after an instance is created. Code for apm_package_instance_new is in acs-tcl/tcl/apm-procs.tcl. If this proc was already in APM since 4.0, the original author of file-storage never heard of it. Never heard about it myself, too. Thanks, Stephen.

About the warning message before a package instance is deleted, is there a proc that allows a package to tell APM, "hey, could you display this message before you delete the package instance?". Deletion of the package is from APM, not from the admin page of the package.