Finally add a customisable page for /bookingfinal
This commit is contained in:
@@ -50,6 +50,26 @@ function booking_register_page() {
|
||||
return $return_array;
|
||||
}
|
||||
|
||||
/**
|
||||
* Landing page after returning from paypal
|
||||
*/
|
||||
function booking_payment_completed_page() {
|
||||
//get some configuration information
|
||||
global $event;
|
||||
$output = "";
|
||||
$return_array = array();
|
||||
|
||||
//set the page title
|
||||
$bookingTitle = !empty($event->booking_eventname) ? $event->booking_eventname : 'Event';
|
||||
drupal_set_title($bookingTitle . ' Registration Completed');
|
||||
|
||||
$output = token_replace(variable_get('booking_regn_completed_page'), booking_define_tokens());
|
||||
$return_array[] = array('paragraph' => array('#type' => 'markup', '#markup' => $output));
|
||||
|
||||
return $return_array;
|
||||
}
|
||||
|
||||
|
||||
function booking_form($node, &$form_state, $inserting = FALSE) {
|
||||
|
||||
global $event;
|
||||
|
Reference in New Issue
Block a user