template::themed_template (public)

 template::themed_template [ -verbose ] path

Defined in packages/acs-templating/tcl/util-procs.tcl

Given a path like /packages/acs-admin/www/index pointing to an .adp file, this function tries to locate this path in the ResourceDir of the subsite (determined by the theme). If found the themed template is returned, otherwise the passed template path.

Switches:
-verbose (optional, boolean, defaults to "false")
Parameters:
path (required)
absolute path within the open acs tree (without extension)
Returns:
path to themed template or input value (without extension)

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