Forum OpenACS Development: Re: Suggestion: Include src Lookup

Collapse
Posted by Dave Bauer on
I was discussing this with Steve on IRC.

This is another example of the small problem of cusomizing package level code. The toolkit is not designed for non-destructive cusomization.

This is an interesting case, where the main template is fine, but the include needs to be customized. For once, the behavior is well documented. in general I guess we need to be able to access tcl datasource files int he package directory and have them automatically return a customized adp from a package instance specific location.

This might require a change to the request processor to optionally skip standalone ADP files in the overriding directory, grab the package tcl file then ad_return_template would handle the custom adp page.

This would require much less copying where only formatting is changing.