CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • what does CRM_Utils_System::url returns
Pages: [1]

Author Topic: what does CRM_Utils_System::url returns  (Read 1254 times)

robezy

  • Guest
what does CRM_Utils_System::url returns
March 19, 2009, 10:22:17 pm
Hi,
 Could anyone please tell  what is wrong with the following code. 

$url = 'civicrm/contribute/transact';
$returnURL = CRM_Utils_System::url( $url, "_qf_ThankYou_display=1&qfKey=$qfKey",true,null,false);                                                                             

CRM_Utils_System::redirect( $returnURL );


this code is supposed to redirect me to the thank you page after making contributions  but it is not redirecting me to anywhere .i  checked $returnURL value and found that it is empty. 

how does CRM_Utils_System::url works and what is its return value.

where can i find info about this function .

thanks in advance.

robezy



Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: what does CRM_Utils_System::url returns
March 19, 2009, 11:13:55 pm
hi

Quote
how does CRM_Utils_System::url works and what is its return value.
This function take necessary parameters and generate an internal CiviCRM URL .

Quote
where can i find info about this function .
go to CRM/Utils/System.php line around 168
Also you might want to debug the function, CiviCRM debug tools

kiran
You Are Designed To Choose... Defined By Choice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • what does CRM_Utils_System::url returns

This forum was archived on 2017-11-26.