[Templates] Process vs Macro ?
Perrin Harkins
perrin@elem.com
Fri, 22 Sep 2006 11:37:13 -0400
Evan Carroll wrote:
> Could someone please juxtapose PROCESS w/ ARGS, vs, MACRO? I'm confused
> as to which one to use.
It's a matter of scope. If want to split out some repeated code that no
other template will use, make it a MACRO in the current template. If
you have something that other templates might conceivably use too, make
it a separate template and call it with PROCESS.
In practice, I have almost no use for MACRO.
- Perrin