Home
The Toolkit for Online Communities
17707 Community Members, 0 members online, 2425 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Running a Tcl script at package install time : One Message

Forum OpenACS Development: Re: Running a Tcl script at package install time

Collapse
Posted by Tilmann Singer on
There is a post-instantiation mechanism: define a proc package_name_post_instantiation and it will be called everytime you create a new instance of the package from the site-map. For an example look at file_storage_post_instantiation.

You are looking for something else obviously, just though I'd mention that anyway.

I don't see a problem with creating a group-type in plsql though, the tcl proc doesn't do more than call the corresponding plsql function either. What else do you need to do on installation?