[Catalyst] how to use catalyst config value.......

apv apv at sedition.com
Mon Feb 13 07:19:05 CET 2006


You should probably take a look at a couple of other things too instead
of what you're doing.

c.request.base
  # and
c.uri_for('whatever')

I don't know what your app is doing but there should never be a need
for a hard coded base uri within Catalyst.

-Ashley

On Sunday, February 12, 2006, at 09:28  PM, chveerendra nadh wrote:

> thanks...................amazing  it's wroking
>
> On 2/13/06, Kieren Diment <diment at gmail.com> wrote:
>
> [% c.config.uri_base %]
>
> On 13/02/06, chveerendra nadh < chchveeru at gmail.com> wrote:
>
> hi to all
>
> i have bit problem................... if  i want set config in 
> catalyst  like this
>
> $URI_BASE =Zrush
>
> Shop->config->{uri_base} = $URI_BASE;
>
> how to use in template tool kit   ................... can i use like 
> this [%config.uri_base%] it will be printed    Zrush
>
>
>
> Thanks
>
>  Veeru
>
>
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
>
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst




More information about the Catalyst mailing list