Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Change Images on Payment Options Page?

Change Images on Payment Options Page? 13 years 9 months ago #12215

  • mhornbuckle
  • mhornbuckle's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I would like to change the wording of "PayPal Pro" to Credit Card Payment. Where do I find that in the component? Thanks!

Please Log in or Create an account to join the conversation.

Change Images on Payment Options Page? 13 years 9 months ago #12217

  • Hezeel
  • Hezeel's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I found the text (not image) when I was looking through the language file for something else.

dthadmin wrote: The language files are found here:

FRONTEND -
/language/en-GB/en-GB.com_dtregister.ini

BACKEND -
/administrator/language/en-GB/en-GB.com_dtregister.ini


I used CRTL + F to search through the file for all instances of what I was trying to change.
Paypal is on line 250 of the frontend file. I changed "PAYPAL=PayPal" to "PAYPAL=PayPal and Credit Card"
Paypal Pro looks like it's on line 1619

Please Log in or Create an account to join the conversation.

Change Images on Payment Options Page? 13 years 9 months ago #12219

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Correct... text is changed in the language file. To change the images, you can replace the existing images found here:

/components/com_dtregister/assets/images/

Make sure to use the exact same file names for the images you replace.

Please Log in or Create an account to join the conversation.

Change Images on Payment Options Page? 10 years 7 months ago #23096

  • Tabraea
  • Tabraea's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I found the image reference in this array in dtregister.php for PayPal. The images for PayPal and PayPal Pro are identical in both instances.

I would like a separate image for PayPal Pro but, I can not find the array to change the syntax for the image.

Where do I find this OR is there an array that you could provide so I may add an image for PayPal Pro?

The array below is the one that is referenced for PayPal. (paymentmethod2)

Our Website utilizes both PayPal and PayPal Pro.

hotwellsshootingrange.com/

Thank you in advance for your help.



8176 <?php }
8177
8178 if(in_array("paypal",$arrPaymentMethods)){ ?>
8179
8180 <tr>
8181 <td valign="top" width="164"><img src="<?php echo JURI::root(true);?>/components/com_dtregister/assets/images/paypal_pay.jpg" width="149" alt="" height="100" align="middle" /></td>
8182 <td valign="top" ><input type="radio" id="paymentmethod2" name="paymentmethod" value="paypal" /><?php echo JText::_( 'PAYPAL' );?></td>
8183 </tr>
8184
8185 <?php }

Please Log in or Create an account to join the conversation.

Change Images on Payment Options Page? 10 years 7 months ago #23098

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Not sure where you are looking... or how old of a DT Register version you are using... but the images are set in this file:

/administrator/components/com_dtregister/models/paymentmethod.php

Towards the top of the file you get the language tags set for each payment gateway, then the image files to use for each one.

We do not officially support Joomla 1.5 anymore so you're on your own beyond this I'm afraid. Hopefully this will get you where you need until you can get updated.

Please Log in or Create an account to join the conversation.

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

Change Images on Payment Options Page? 10 years 7 months ago #23099

  • Tabraea
  • Tabraea's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thanks.. I found the file you are referring to. I couldn't find a thread for Joomla 2.5 version. This was the only one I found.

Fortunately, the file is the same in the version I have.


Many thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.162 seconds