Forum OpenACS Q&A: Re: What (really) is subsite-awareness?

Collapse
Posted by Dave Bauer on
Randy,

Actually a package generally should not store data based on the subsite package_id, but the package_id of the package instance. That is, a package instance should only "see" it's own data. When this happens subsite awareness, as it is called, is achieved. This also helps in non-subsite applications as well. So one instance of news or forums should not display data from another instance. In the data model this means adding a package_id column to the object_type specific table and storing the package_id of the package instance an object is created in.