Favourites Create PDF Email Print

How to place the Customized message above the default message instead of below it?

Author:
lucato
Date added:
Saturday, 06 June 2009
Last revised:
Sunday, 07 June 2009
Hits:
2236
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

It is defined in the controller.php file at yoursite/components/com_alphauserpoints. If you check the line 511 (version 1.4.0) you will find the order it is defined at: $body = sprintf( $msg, $SiteName, $sender, $link) . " \n" . $custommessage; So, you can change it for example below:
$body = $custommessage . " \n\n" . sprintf(  $msg, $sender, $SiteName, $link) ;

Category

Tags for this item

Goto Top