Template Tags:
- Prefixes: Prefixes can be used in order of first order then second order
- First order (optional)
- ^ Processed if in the current directory, even if the current page
isn't from the current directory. .libs is first checked, and
then each directory from the subsite root to the current page's
directory is walked resolving ^ tags. The prefix is not included
in references to these tags.
- = Refers directly to a tagfile in the .libs directory. The prefix
is included in references to these tags.
- Second order (optional)
- (none) Refers to a tagfile that will be included verbatim
- _ Refers to a tagfile that will be processed dynamically
- Details:
- Static template parsed:
- (none) The tagfile is included verbatim
- ^ The tagfile is included verbatim from the tagfile found in the
currently being processed directory
- = The tagfile by the same name as the referred tag is included
verbatim from the .libs directory
- Dynamic template parsed:
- ^_ The tagfile is included as processed PHP from the tagfile found
in the currently being processed directory
- =_ The tagfile by the same name as the referred tag is included as
processed PHP from the tagfile found in the .libs directory
Prefix symbols have no hidden meaning. They're just symbols. Don't
try to think of the shape or look of the prefix symbol as having anything to
do with what the prefix symbol does in the context of Webstamp. We could
have just as easily used other characters, just that these are the ones
we started with.
|