Sunday 13 April 2003 1:05:55 pm
How can I get the name of the current Folder in pagelayout.tpl or pagelayout_section_#.tpl? I want to get the current position within the path, preferably without looping through the entire path, as in the Bread Crumbs example included in the demo. Also, I noticed that I cannot get $node.name in pagelayout.tpl, although it is possible to get it in one of the class templates, such as full_class_1.tpl. Is there some code I can use to display all the template variables, content objects and attributes that are accessible from various templates? http://ezwiki.blanko.info/index.php/3XHT_SeeTmpls does a good job of explaining how to see which templates are in use on a page and http://ezwiki.blanko.info/index.php/Custom%20designs%20-%20directory%20structure%20explained%20%283.x%29 does a good job of explaining the template directory structure, but I cannot find documentation that explains which variables, etc are available within each template. Documentation seems to be partial here, but I'd be satisfied with some debug code that will help me sort things out. Thanks in advance!
|