Re: cakephp html link helper to create absolute urls

2010-06-07 Thread jodator
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

cakephp html link helper to create absolute urls

2010-06-06 Thread Andras Kende
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

Re: Absolute URLs

2010-04-25 Thread Robert Popplewell
"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

Re: Absolute URLs

2010-04-25 Thread jacmoe
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

Re: Absolute URLs

2010-04-25 Thread jacmoe
; 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

Re: Absolute URLs

2010-04-25 Thread jacmoe
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

Absolute URLs

2010-04-24 Thread Robert Popplewell
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