[Catalyst] Doubts while converting Maypole framework to Catalyst framework

Adam Jacob adam at stalecoffee.org
Mon Feb 27 20:08:34 CET 2006


On Feb 27, 2006, at 10:59 AM, Vidya Sagar wrote:

> Thank you for the reply.But that is not what i want.Actually i need  
> to know whether there is any template path to be specified like we  
> have in maypole" [%config.uri_base%] " similarly to that in  
> catalyst . Or can i write the same thing i.e " [%config.uri_base%]  
> " for the url to work
> If i give like that my url is redirecting to the home page.thats my  
> problem.
>  thank you
>
> On 2/28/06, apv <apv at sedition.com> wrote: You probably want this:
>
>   <a href="[%config.uri_base%]/page/about_sg.html">
>
>   <a href="[% c.uri_for("/page/about_sg.html") %]">
>

I'm not sure if this is what you are looking for, but you can do:

<a href="[% base %]page/about_sg.html">

Adam



More information about the Catalyst mailing list