content::item::get_virtual_path (public)
content::item::get_virtual_path -item_id item_id \ [ -root_folder_id root_folder_id ]
Defined in packages/acs-content-repository/tcl/content-item-procs.tcl
Retrieves the relative path to the item. The path is relative to the page root, and has no extension (Example: "/foo/bar/baz").
- Switches:
- -item_id (required)
- The item_id for the item, for which the path is computed
- -root_folder_id (optional)
- Starts path resolution from this folder. Defaults to the root of the sitemap (when null).
- Returns:
- The path to the item, or an empty string on failure
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- content_item_nested_structure