<dpSpawn>
D E F I N I T I O N:
Spawn provides a method for a template to build additional files. This is most commonly used to generate server side includes, or to create and/or update mini sites.
This syntax it used to define a template inline. Mostly common for creating include files.
<dpSpawn path="relative path" file="file name">
template defined here
</dpSpawn>
This syntax references an external template you've defined in the Template Manager. This is a common method for mini sites.
<dpSpawn path="relative path" file="file name" template="template name">
A T T R I B U T E S:
E X A M P L E S:
The following code will build author archives for all of the authors in your database. It uses a template defined in the Template Manager called "author archives".
<dpQuery issue="all" realm="author">
<dpSpawn path="/archives/authors/" file="<dpAuthorID>.html" template="author archives">
</dpQuery>
| Home: Support: Reference Guide: Miscellaneous Tags: <dpSpawn> | Questions? Comments? Please write support@desert.net. |