[cgiapp] Re: Template::Toolkit Plugins

2004-01-29 Thread Mark Stosberg
On 2004-01-28, Stephen Howard [EMAIL PROTECTED] wrote: Now why I like TT is that i don't really have to do any 'display prep' of the items to be returned to the user. I appreciate this. I've wrestled with this some using H::T. Data::Grouper and careful use of DBI help this some, but I could

Re: [cgiapp] Re: Template::Toolkit Plugins (was: Re: CGI::App::DBH or Ima::DBI)

2004-01-29 Thread William McKee
On Thu, Jan 29, 2004 at 06:43:48PM +, Mark Stosberg wrote: Header.tmpl: title[% Title %]/title !--Top navigation stuff here -- [% USE Family(PageID) %] [% FOREACH Relative = Family.Left_Rail %] [% IF Relative.Type == 'Parent' %] !-- Output a parent type breadcrumb -- [%

Re: [cgiapp] Re: Template::Toolkit Plugins

2004-01-29 Thread Stephen Howard
well, to be fair to TT, i think it's a little easier to read it this way, as opposed to the original example title[% Title %]/title [% USE Family(PageID) %] !--Top navigation stuff here -- [% FOREACH Relative = Family.Left_Rail; SWITCH Relative.Type; CASE 'Parent' %]Parent Type

Re: [cgiapp] Re: Template::Toolkit Plugins

2004-01-29 Thread Terrence Brannon
William McKee wrote: This could be pulled into another template with the following line: xi:include href=header.tmpl / I want to make a fundamental points about website design here... componentizing a website's view via a templating language is very different from what experts in

Re: [cgiapp] Re: Template::Toolkit Plugins

2004-01-29 Thread William McKee
On Thu, Jan 29, 2004 at 06:00:58PM -0500, Terrence Brannon wrote: I want to make a fundamental points about website design here... componentizing a website's view via a templating language is very different from what experts in Macromedia Dreamweaver or Frontpage are used to having done.