content::get_template_root (public)
content::get_template_root
Defined in packages/acs-content-repository/tcl/filter-procs.tcl
Find the directory in the filesystem where templates are stored. There are a variety of ways in which this can be set. The proc looks for that directory in the following places in this order: (1) the TemplateRoot parameter of the package for which the request is made, i.e., [ad_conn package_id] (2) the TemplateRoot parameter of the acs-content-repository If it is not found in any of these places, it defaults to $::acs::rootdir/templates If the value resulting from the search does not start with a '/' it is taken to be relative to $::acs::rootdir
- Returns:
- the template root (full path from /)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.