Forum OpenACS Development: Per subsite singleton packages?

Collapse
Posted by Dave Bauer on
In fixing up the general comments package, I thought it would be a good idea to allow general comments to be mounted once per subsite. This makes it easy to limit listing comments to just those that belong to a particular subsite.

To make is easier to manage, it would be nice to define a package type that is allowed to be mounted once per subsite. With this restriction the code can safely query the site map to find the general-comments instance for a particular package and link to it.

I can see this working similarly for notifications, and other types of service packages.

The other solution would be to allow a single instance of general comments to be mounted in more than one location.  For general comments we would still want to partition the comments by which subsite they are generating in, I think.