Forum OpenACS Development: Re: Contacts 1.0d and AMS 1.0d Todo List

Collapse
Posted by Malte Sussdorff on
Could you make a commit with this commented out to 5.1 and treat it as a backport? The reason for the callbacks is fairly simple. We need additional attributes for a contact depending on the installation of the project-manager package and project/open packages. Workaround would be to make contacts depend on the other packages and this is something you'll not want :).

What you can do though is create a dummy procedure "callback" that takes arguments as callback does, but has not code. This could be stored in contacts-init.tcl and wrapped around an if statement that checks if there is already a callback function and only initialize this particular callback function if there is none installed.

Regarding the setups, I will add seperate procedures to contacts in contacts-populate (?) like contact::populate::customers that will create prepopulated lists. We could then write a page in the admin interface that checks all procedures in the contact::populate namespace and have them available as an option to execute.