I propose adding a check in a packages lib directory to the resolution of templates to make it easier to use shared includes.
The new resolution order, when a template is specified, for ad_return_template, the master tag and the include tag would be:
For relative paths resolve as normal relative to the current file.
For absolute paths check the package lib directory and if nothing is found check from the server root. By default the lib dir of the current package is checked, but I propose a path of the form <package-key>://template-path would result instead in a check of the specified package's lib directory.
Request notifications