url_for has extra parameter "true",
example:
<?php echo url_for(
  'listing/list?prop_category=' . $prop_category . '&listing_type=' .
$listing_type . '&search_str=' . $location, true)




On Apr 4, 8:59 am, manish <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>
> I have generated a routing rule in routing.yml
>
> search_email_friend:
>   url: /:prop_category/:listing_type/properties/:search_str
>   param: { module: listing, action: list}
>   requirements: { listing_type: rent|sale|new|resale, prop_category:
> residential|commercial }
>
> and create a url in templets of listsuccess.
>
> <?php echo url_for(
>   'listing/list?prop_category=' . $prop_category . '&listing_type=' .
> $listing_type . '&search_str=' . $location )
>
> the problem is, the above url not showing the complete url. it's
> showing only...
> /residential/sale/properties/NewDelhi
>
> and i want the url 
> like..http://www.example.com/residential/sale/properties/NewDelhi
>
> Is there any problem with url_for().?
>
> plz help...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to