CatDadRick Posted January 8, 2008 Share Posted January 8, 2008 I'm trying to change the displayed text of a payment module, but nothing seems to work. This is a minor cosmetic change and not specific to the module. The module currently displays a single line of text PayPal IPN I want to change this to read PayPal IPNUse this payment method for all Credit and Debit Card payments I want this on 2 lines and that's where I'm having trouble.I've made the following modification to catalog/includes/languages/english/modules/payment/paypalipn.php... define('MODULE_PAYMENT_PAYPALIPN_TEXT_TITLE', 'PayPal IPN' . "\n" . '(Choose this payment method for ALL Credit and Debit Card purchases)'); But that didn't work. I've also tried define('MODULE_PAYMENT_PAYPALIPN_TEXT_TITLE', 'PayPal IPN \n (Choose this payment method for ALL Credit and Debit Card purchases)'); That too didn't work. How can I split the line of text at a specific point? Thanks, CatDad Link to comment Share on other sites More sharing options...
CatDadRick Posted January 8, 2008 Author Share Posted January 8, 2008 Nevermind, I found my answer. define('MODULE_PAYMENT_PAYPALIPN_TEXT_TITLE', 'PayPal IPN' . "<br>" . '(Choose this payment method for ALL Credit and Debit Card purchases)'); Just replaced the "\n" with "<br>". Thanks, CatDad Link to comment Share on other sites More sharing options...
knifeman Posted January 8, 2008 Share Posted January 8, 2008 I'm trying to change the displayed text of a payment module, but nothing seems to work. This is a minor cosmetic change and not specific to the module. The module currently displays a single line of text I want to change this to readI want this on 2 lines and that's where I'm having trouble. I've made the following modification to catalog/includes/languages/english/modules/payment/paypalipn.php... define('MODULE_PAYMENT_PAYPALIPN_TEXT_TITLE', 'PayPal IPN' . "\n" . '(Choose this payment method for ALL Credit and Debit Card purchases)'); But that didn't work. I've also tried define('MODULE_PAYMENT_PAYPALIPN_TEXT_TITLE', 'PayPal IPN \n (Choose this payment method for ALL Credit and Debit Card purchases)'); That too didn't work. How can I split the line of text at a specific point? Thanks, CatDad CatDad, I have some defines I made for my footer that are quite long. I just used a <BR> in the place I want a line break and it worked for me. Tim You beat me by mere seconds. LOL Link to comment Share on other sites More sharing options...
CatDadRick Posted January 8, 2008 Author Share Posted January 8, 2008 CatDad, I have some defines I made for my footer that are quite long. I just used a <BR> in the place I want a line break and it worked for me. Tim You beat me by mere seconds. LOL Tim, Thanks for your reply. I realized the answer to my question right about when I pressed Post. CatDad Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.