CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Just want to change a field to password...
Pages: [1]

Author Topic: Just want to change a field to password...  (Read 958 times)

rchapman

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
Just want to change a field to password...
March 12, 2010, 07:29:57 am
Going on three days of searching through code and functions because on the 'payment processors' page, I want the 'password' field for Moneris API to be an actual password field, and not text.

I've found PaymentProcessor.tpl under /CRM/Admin/Form, but it seems to call exactly the same $form.password.label as is used in MailSettings.tpl in the same folder. For some reason, the mailSettings one IS a password field.

The only difference is the dd and dt tags in PaymentProcessor. I just want to change type=text to type=password. Is this done in the CSS, or am I missing something?


~ross

rchapman

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
Re: Just want to change a field to password...
March 17, 2010, 11:30:46 am
My favorite part of this so far is trying to use the code from payment processors in the code for mailsettings and vice versa.

exact same code, but BOTH password fields perform the same in each template. in mail settings, they are masked with type=password, but in paymentprocessor, they are not masked. same code.

I'm banging my head against the wall.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Just want to change a field to password...
March 17, 2010, 11:40:46 am

when you are done banging your head against the wall, might want to ping us on IRC :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Just want to change a field to password...

This forum was archived on 2017-11-26.