I'd like to have a file or two with a number of HTML widgets --
label_row() form_label_text_row(), form_select(), etc. These HTML
widgets should ideally be available to all pages processed as if they
were local to the page -- no INCLUDE, PROCESS or WRAPPER directive,
just a named macro block call.

Currently they're defined in MACRO/BLOCK format in the one or two
files and they work ok when passing the filenames via PRE_PROCESS to
the Template->new() call.

But there seems to be an as yet unmeasured performance hit when doing
this. Should I be accomplishing this in another manner? I note there's
also the BLOCKS parameter to the Template->new() call, but then it
seems like I'd need to either parse the file to get names out or
divide the file into individual widgets. Either is doable, I'm just
wondering if they're necessary. Or if I'm missing something
altogether...

Thanks much,

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.


Reply via email to