ote:
> Hello,
>
> Is it possible for cakephp html link helper to create absolute urls?
>
> I saw this could be done with html->url() something like :
>
> link('TEST LINK', $html->url('/advances/forward', true)); ?>
>
> but not sure how comp
Hello,
Is it possible for cakephp html link helper to create absolute urls?
I saw this could be done with html->url() something like :
link('TEST LINK', $html->url('/advances/forward', true)); ?>
but not sure how compatible that with custom routes etc...
Thank
"Er, what for?"
Because I prefer to use absolute URLs :P
"And there's no way you can have a link like '/cake/css/cake.generic.css'"
Obviously you can if your working within a folder named 'cake', I just
pasted a random href link in there from my tes
have a link like '/cake/css/
> > cake.generic.css' - it would be '/css/cake.generic.css'.
> > Are you creating all those links yourself?
>
> > On Apr 25, 6:59 am, Robert Popplewell wrote:
>
> > > Does anyone know the best way to change all html li
; And there's no way you can have a link like '/cake/css/
> cake.generic.css' - it would be '/css/cake.generic.css'.
> Are you creating all those links yourself?
>
> On Apr 25, 6:59 am, Robert Popplewell wrote:
>
>
>
>
>
> > Does anyone know the
ml links within cakephp
> to absolute URLs? (besides preg_replace)
>
> e.g.
>
> From:
>
> /cake/css/cake.generic.css
>
> To:
>
> http://myurl.com/cake/css/cake.generic.css
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with
> thei
Does anyone know the best way to change all html links within cakephp
to absolute URLs? (besides preg_replace)
e.g.
From:
/cake/css/cake.generic.css
To:
http://myurl.com/cake/css/cake.generic.css
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP