[symfony-users] Re: How to aasign external link in symfony

2010-11-27 Thread pfwd
Concatenate the address with the suffix: $link = "http://".$Obj->getUrl(); echo link_to('link name', $link); Something like that On Nov 11, 12:39 pm, deepak wrote: > Hi > > There is a column in my table which stores external urls e.g. > "www.amazon.com". > > Now when I try to use link_to('Produc

[symfony-users] Re: How to aasign external link in symfony

2010-11-11 Thread deepak
Thanks Gareth. :) On Nov 12, 12:42 pm, Gareth McCumskey wrote: > This is expected behavour. url_for looks for the suffix http:// to know if > its an external link or not. > > > > > > > > > > On Thu, Nov 11, 2010 at 2:39 PM, deepak wrote: > > Hi > > > There is a column in my table which stores ex