On Tue, 9 Dec 2003, Puneet Kishor wrote:

PK>well, now that you put it that way, I feel I might be the one who is not
PK>really understanding what you all are saying, and hence, am perhaps
PK>barking tangentially ;-).

I think it's just a matter of different approaches.

The way I've been doing it, as I described earlier, the content was in a
template.  It relied on includes to pull the HTML in, and I had to do
interleaved includes to get the title (among other things) in.  Which is
no big deal, other than it necessitates putting rather more structure in
each content-template than I'd really like to have.

If, on t'other hand, you start with a master template and stuff the
content in via TMPL_VARs, you can stuff the title just as well as the main
content... but then you lose the ability to have TMPL_VARs within the
content you're stuffing.  Unless, as I'll probably end up doing, you're
processing the content as a nested template, a la:
$page->param("content", $subpage->output)).

There are advantages and drawbacks to either approach.

-- 
Karen J. Cravens  [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to