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):
%3 content::init content::init (public) content::get_template_root content::get_template_root content::init->content::get_template_root publish::merge_with_template publish::merge_with_template (private) publish::merge_with_template->content::get_template_root ad_conn ad_conn (public) content::get_template_root->ad_conn apm_package_id_from_key apm_package_id_from_key (public) content::get_template_root->apm_package_id_from_key parameter::get parameter::get (public) content::get_template_root->parameter::get

Testcases:
No testcase defined.
[ show source ]
Show another procedure: