May, 2005
xml.php
This script produces an XML version of a Siteframe object. It has two required parameters (query strings):
c= string - the class of object to export
id= number - the id of the object to export
For example, to create an XML version of a Page object with ID=12, you'd use this URL: http://siteframe.info/xml.php?c=Page&id=12 Objects exported in this manner can be...
0 comment(s)
/ glen
/ Scripts
/ on May 28, 2005 at 16:33
sitemap.php
This script displays the folder structure ("site map") of the site.
It constructs a list of folders (technically, in "depth-first" order)
and the default templates display each folder as an indented
hierarchical structure. You can see this site's folder structure here .
0 comment(s)
/ glen
/ Scripts
/ on May 28, 2005 at 16:30
folder_path (Smarty extension block)
The {folder_path} block is used to construct a "breadcrumb" trail.
It creates a list of folder objects, one for the current folder on up
to the top-level folder. Example: {folder_path folder=$folder_id}
<a href="{$folder.url}">{$folder.title}</a>
{/folder_path} Since this is a block function, you can use this in a Smarty template to format or modify as you see fit.
0 comment(s)
/ glen
/ Templates
/ on May 27, 2005 at 13:12
DEPRECATED: all_folders (Smarty extension block)
The {all_folders} block has been dropped
and has been replaced with the generic {all} block. To use it, change
{all_folders ...} to {all class="Folder" ...} and everything should
work just the same. The {all_folders} ... {/all_folders} block iterates through all the
folders and produces a template context for each folder. If the
parent=N parameter is provided, then only folders which are...
0 comment(s)
/ glen
/ Templates
/ on May 26, 2005 at 22:28
