publish::get_page_root (public)
publish::get_page_root
Defined in packages/acs-content-repository/tcl/publish-procs.tcl
Get the page root. All items will be published to the filesystem with their URLs relative to this root. The page root is controlled by the PageRoot parameter in CMS. A relative path is relative to $::acs::pageroot The default is $::acs::pageroot
- Returns:
- The page root
- See Also:
- publish::get_template_root
- publish::get_publish_roots
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # LARS TODO: This parameter doesn't exist, it's a remnant from the CMS package set root_path [parameter::get -package_id [ad_conn package_id] -parameter PageRoot] if { [string index $root_path 0] ne "/" } { # Relative path, prepend server_root set root_path "$::acs::pageroot/$root_path" } return [ns_normalizepath $root_path]Generic XQL file: packages/acs-content-repository/tcl/publish-procs.xql
PostgreSQL XQL file: packages/acs-content-repository/tcl/publish-procs-postgresql.xql
Oracle XQL file: packages/acs-content-repository/tcl/publish-procs-oracle.xql