Currency Space USD

  • Dave B
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
4 years 3 months ago #137819 by Dave B
Currency Space USD was created by Dave B
Hello, in the USA we do not use a space between the currency symbol and the amount. Could you please remove this?



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

    More
    4 years 3 months ago #137834 by Mr. Dam
    Replied by Mr. Dam on topic Currency Space USD
    Open file: root -> components -> com_jdonation -> helper -> html.php
    Find:
    Code:
    return $config->currency_position ? (number_format($amount, $decimals, $dec_point, $thousands_sep) .' '. $symbol) : ($symbol .' '. number_format($amount, $decimals, $dec_point, $thousands_sep));
    and change to
    Code:
    return $config->currency_position ? (number_format($amount, $decimals, $dec_point, $thousands_sep) .' '. $symbol) : ($symbol . number_format($amount, $decimals, $dec_point, $thousands_sep));

    Good luck

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

    • Dave B
    • Topic Author
    • Offline
    • Platinum Member
    • Platinum Member
    More
    4 years 3 months ago #137865 by Dave B
    Replied by Dave B on topic Currency Space USD
    Thank you

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

    • Dave B
    • Topic Author
    • Offline
    • Platinum Member
    • Platinum Member
    More
    3 years 8 months ago #142430 by Dave B
    Replied by Dave B on topic Currency Space USD
    Hello, what could be done to fix this so updates don't revert the space back? Do you think it could be possible that if someone selects United States Dollar in the Configuration this space can go away automatically? Just curious.



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

    More
    3 years 8 months ago #142440 by Mr. Dam
    Replied by Mr. Dam on topic Currency Space USD
    Currently, we don't have configure option to hide the space between currency symbol and amount.
    Thanks
    Dam

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

    Moderators: Mr. DamDũng Nguyễn Việt