[Catalyst] newbie YAML question
John Napiorkowski
jjn1056 at yahoo.com
Wed Jul 12 17:03:41 CEST 2006
These two suggestions pointed me in the right direction. However it's a bit tricky:
You substitute talentspace_portal2->path_to('pathpart1', 'pathpart2') with
__path_to(pathpart1/pathpart2)__
The docs say it should be __path_to('pathpart1/pathpart2')__ with single quotes but that didn't work for me,
the quotes became part of the string. Does anyone know if the docs are just a bit off or is there something
wrong with my system? --john
----- Original Message ----
From: Robert 'phaylon' Sedlacek <phaylon at dunkelheit.at>
To: John Napiorkowski <jjn1056 at yahoo.com>; The elegant MVC web framework <catalyst at lists.rawmode.org>
Sent: Wednesday, July 12, 2006 10:44:13 PM
Subject: Re: [Catalyst] newbie YAML question
John Napiorkowski said:
>
> - talentspace_portal2->path_to( 'tt_templates' )
>
> I actually need to set the include path because I have several sets of
> views each rooted to a different directory. However the above doesn't
> work. This is because it gets parsed by YAML into:
The Catalyst::Plugin::ConfigLoader docs can tell you more about __HOME__ &
Co. which is to my belief what you are looking for. Check the
finalize_config documentation.
hth, p
More information about the Catalyst
mailing list