[Mpls-pm] Catalyst Template wrapping

Peter Karman peter at peknet.com
Thu Feb 18 20:41:54 PST 2010


Steve Cayford wrote on 2/18/10 5:54 PM:
> On the Catalyst topic, I have an application running Catalyst with a
> Template Toolkit view (created with the TTSite option). It works well,
> but now I made a copy for development and testing (same box, same perl
> executable, but different apache instance on a separate port). This
> testing app is not wrapping the output in the html and layout templates,
> or running the pre-processing template. The application runs without
> errors, but I only get the output of the content template. I can't find
> a difference in the configuration, I've checked file permissions. The
> good site and the testing site both give the same output for things like
> [% Catalyst.view('TT').PRE_PROCESS %], [%
> Catalyst.view('TT').INCLUDE_PATH.0 %], and [%
> Catalyst.view('TT').INCLUDE_PATH.1 %] (other than the base of the path
> reflecting the change in site)
> 
> Is there something in TT that would switch off the wrapping that I'm not
> looking at? It's probably something ridiculously obvious.

You'll likely get more help on the catalyst list, but...

What does your View/TT.pm file look like? esp the config where you set WRAPPER ?

What does your root/lib/site/wrapper file look like?


-- 
Peter Karman  .  http://peknet.com/  .  peter at peknet.com


More information about the Mpls-pm mailing list