[Catalyst] Re: Including a submenu

Lance A. Brown lance at bearcircle.net
Tue Apr 7 14:19:34 GMT 2009


Bill Moseley wrote:
> But your question was this:
> 
>     [% INCLUDE "$page/menu.tt2" %]
> 
> Resulted in:
> 
>     Couldn't render template "file error - /menu.tt2: absolute paths
>     are not allowed (set ABSOLUTE option)"
> 
> How is that related to the controller and restarting Apache?

I expect his updated controller was setting $page, not something in the
template.  Therefor with the new template, but the old, still-running
controller, $page was empty, leading to the above error message.

--[Lance]

-- 
 GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
 CACert.org Assurer



More information about the Catalyst mailing list