Questions about Payment Form extension

css for State dropdown

  • Jay Larson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 1 month ago #147628 by Jay Larson
css for State dropdown was created by Jay Larson
Hello,

Why does "State" have a different css class than "Countries"?

Regards,
Jay

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

    More
    3 years 1 month ago #147629 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic css for State dropdown
    Hello Jay

    That looks strange to me. Could you please submit a support ticket sending us super admin account of the site and link to the form so that I can look at it?

    Tuan

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

    • Jay Larson
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    3 years 1 month ago #147637 by Jay Larson
    Replied by Jay Larson on topic css for State dropdown
    Hi Tuan,

    See ticket Ticket #115308

    Thanks,
    Jay

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

    More
    3 years 1 month ago #147640 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic css for State dropdown
    Thanks. Found small issue and fixed it via support ticket. Everything is working well now

    Regards,

    Tuan

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

    • Jay Larson
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    3 years 1 month ago - 3 years 1 month ago #147647 by Jay Larson
    Replied by Jay Larson on topic css for State dropdown
    Tuan,

    When you reinstalled the Payment Forms component, you overwrote my customization for separating Late Fee from Total Amount. I wish you had asked my permission before installing software on my server.

    After several hours of restoring my site, I went to components\com_pmform\Controller\Controller.php and changed line 515 from:$classClasses[] = '$rowField->css_class';to:$classClasses[] = 'form-control';
    Now it works fine.
    Jay

     
  • Last edit: 3 years 1 month ago by Jay Larson.

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

    More
    3 years 1 month ago #147654 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic css for State dropdown
    Sorry Jay. I did not know that you customized the code.

    I'm unsure where you customized the code? Perhaps it could be implemented using override so that the change won't be lost when you update to future releases of the extension

    Regards,

    Tuan

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

    • Jay Larson
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    3 years 1 month ago #147673 by Jay Larson
    Replied by Jay Larson on topic css for State dropdown
    Two days ago, in my support ticket about separating Late Fee from Total Amount, I asked you about how to implement overrides and you told me to modify the components\com_pmform\Helper\Helper.php file. I was under the impression that Payment Forms doesn't support overrides.

    Regards,
    Jay

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

    More
    3 years 1 month ago #147686 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic css for State dropdown
    Hi Jay

    It depends on how the code is modified. Could you zip that modified file, and upload it here? I will see if the change could be implemented using override, if Yes, I will implement it for you

    Regards,

    Tuan

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

    • Jay Larson
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    3 years 1 month ago #147688 by Jay Larson
    Replied by Jay Larson on topic css for State dropdown
    I modified these files:

    administrator\components\com_pmform\install.pmform.php
    administrator\components\com_pmform\Table\payment.php
    administrator\components\com_pmform\View\Payment\tmpl\default.php
    administrator\language\en-GB\en-GB.com_pmform.ini
    components\com_pmform\Controller\Controller.php
    components\com_pmform\Helper\Helper.php
    components\com_pmform\Model\Payment.php
    components\com_pmform\View\Complete\Html.php
    components\com_pmform\View\Confirmation\tmpl\default.php
    components\com_pmform\View\emailtemplates\tmpl\email.php
    components\com_pmform\View\emailtemplates\tmpl\payment_detail.php
    components\com_pmform\View\Form\Html.php
    components\com_pmform\View\Form\tmpl\form_payment_amounts.php
    language\en-GB\en-GB.com_pmform.ini
    media\com_pmform\assets\js\paymentform.js
    media\com_pmform\assets\js\paymentform.mmin.js

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

    More
    3 years 1 month ago #147689 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic css for State dropdown
    Hmm

    Too many files and not all could be implemented using override. So for now, I'm afraid of you will have to keep your modification now and avoid updating to future releases of Payment Form

    Regards,

    Tuan

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

    Moderators: Tuan Pham Ngoc