I've been using HTML blobs as content blocks for the site I'm working on now. Kind of like a user-defined tag, except that it's written in Smarty instead of PHP. I often want to pass parameters to these blobs, like so:
Code: Select all
{block-sidexref pages=$xref}
Code: Select all
{include file="htmlblob:block-sidexref" pages=$xref}
Michael