contentarray

Date: 13-04-2007 13:17 Views: 2952 Author: Colin Polonowski

Description:

Takes a content array and displays it based on 'Fixed Templates' passed in through the function. There are four parameters:

1. content element - the element identifier for the content array
2. element template - the fixed template to use to display each element
3. header template (optional) - the template to use BEFORE processing the array
4. footer template (optional) - the template to use AFTER processing the array

Syntax:

(contentarray|content element|element template|header template|footer template)

Example:

(contentarray|siblings|SiblingTemplate|SiblingHeaderTemplate|SiblingFooterTemplate)

Displays an array for all of the siblings to a piece of content using the SiblingTemplate template for each element and SiblingHeaderTemplate and SiblingFooterTemplate for the array header and footer respectively. If none are found, nothing is displayed.