Hi,
I am developing a OpenACS 4.x site. I have a problem regarding
subsites, templates and packages that are commonly used (e.g. general
comments, workflow, etc.)
For example I have
/site1 - subsite
/site2 - subsite
site1 and site2 has different templates which is configured on the the
parameters of the subsite.
/site1/ticket-tracker is mounted on site1. ttracker makes use of
general comments which is mounted on /comments. I can mount a copy of
the gc at /site1/ticket-tracker/comments. The comments are created by
a proc general_comment_create_link. Which looks of the first site
node with the general-comments key.
What is the best way to make use of /site1/ticket-tracker/comments so
that the template of site1 will be applied to it?
- Is its modifity the general_comments_create_link so that will first
look of the packages key under the current url?
- Modify the tcl files of ticket-tracker and hard code it look in
comments dir relatively. (Bad and poor option)
- Some other options.
The same problem also applies to workflow and probably other common
packages that are used by other packages.
Please help thanks.
Jun