Components are similar to Server Side Includes (SSIs), in that the include PageKit Templates inside other PageKit Templates. However, the can also have code associated with them that fills in the Model Tags, including <MODEL_VAR>, <MODEL_LOOP>, and <MODEL_IF>.
The PKIT_COMPONENT tag specifies where the component should be included. The Component can either be a PageKit Template file, or a PageKit Template generated from the Content/component_id.xml XML file.
The following example illustration how absolute and relative paths work:
# absolute path - includes View/pkit_view/foo/bar.tmpl # or output generated from Content/foo/bar.xml <PKIT_COMPONENT NAME="/foo/bar"> # relative path, includes the bar.tmpl or bar.xml in the directory # of the enclosing PageKit Template/XML File. <PKIT_COMPONENT NAME="bar">