[Catalyst] INCLUDE_PATH and TT
Jean-Michel Caricand
jean-michel.caricand at laposte.net
Wed Apr 12 15:20:11 CEST 2006
> Jean-Michel Caricand wrote:
> > Hi alls,
> >
> > I'm new in Catalyst and I'm happy because it's a very good
> > framework. Actually, I test Catalyst on a small project. All
> > works fine but I have a problem with INCLUDE_PATH. This is my
> > code :
> >
> > Intranet->config(
> > name => 'Intranet',
> > root => Intranet->path_to('root'),
> > 'View::TT' => {
> > # any TT configurations items go here
> > INCLUDE_PATH => [ Intranet->path_to('root'),
> > '/usr/local/tt2/template', ],
> > WRAPPER => 'wrapper.tt',
> > EVAL_PERL => 1
> > }
> > );
> >
> > I want to use splash library. In my index.tt, I have :
> >
> > [% WRAPPER splash/tab width = '20%' %]
> > My tab
> > [% END %]
> >
> > When I test my page, Catalyst send me this message :
> >
> > Couldn't render template "file error - splash/tab: not found"
> >
> > Do you know why ?
>
> Does /usr/local/tt2/template/splash/tab exist?
>
> --
> Matt S Trout Offering custom development,
consultancy and support
> Technical Director contracts for Catalyst, DBIx::Class
and BAST. Contact
> Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for
more information
>
> + Help us build a better perl ORM:
http://dbix-class.shadowcatsystems.co.uk/ +
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
Yes, it exists.
Jean-Michel Caricand
jean-michel.caricand at laposte.net
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)
More information about the Catalyst
mailing list