Favourites Create PDF Email Print

In the body e-mail message it always shows 1st the site name, 2nd username and 3rd the link when using the %s symbols, how to change this order?

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

Answer

It is defined in the controler.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 if you want to show for example the sender in first place, the site name as secondĀ and the link as thrid, just chage the sequence for it like that: $msg, $sender, $SiteName, $link

Category

Tags for this item

Goto Top