How can I get an empty step?

  • yoso
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #86813 by yoso
How can I get an empty step? was created by yoso
Hi,

take a look of my screenshot. How can I get an empty step between the number and the € sign?

Regards

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #86851 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How can I get an empty step?
Hi yoso

We would have to edit the code to add the space. Please submit a support sending us super admin account of your site so that I can ask my dev to edit the code for you

Regards,

Tuan

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #86852 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How can I get an empty step?
Or you can get the file components/com_eventbooking/helper/helper.php from your site, zip it, then upload it here. I will modify code and send it back to you so that you can upload it to your site to have it working as expected

Tuan

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

  • yoso
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #86859 by yoso
Replied by yoso on topic How can I get an empty step?
Hi

attached yo find the file. Thx!

Regards

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #86902 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How can I get an empty step?
OK. The solution is:

1.Open the file components/com_eventbooking/helper/helper.php

2. Find this line of code:
Code:
return $config->currency_position ? (number_format($amount, $decimals, $dec_point, $thousands_sep) . $symbol) : ($symbol . number_format($amount, $decimals, $dec_point, $thousands_sep));

3. Change it to
Code:
return $config->currency_position ? (number_format($amount, $decimals, $dec_point, $thousands_sep) .' '. $symbol) : ($symbol .' '. number_format($amount, $decimals, $dec_point, $thousands_sep));

You can get the modified file here in this attachment

Regards,

Tuan
The following user(s) said Thank You: yoso

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

  • yoso
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #86925 by yoso
Replied by yoso on topic How can I get an empty step?
Hi

yes it works. THX!!!

Regards

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

More
9 years 6 months ago #86940 by James Riley
Replied by James Riley on topic How can I get an empty step?
Another way to achieve the same result without making code-level changes might be to add a [SPACE] before the € in [Configuration -> Currency symbol]


James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
The following user(s) said Thank You: Tuan Pham Ngoc

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

  • yoso
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 6 months ago #86941 by yoso
Replied by yoso on topic How can I get an empty step?
Right - was even my first idea. But then you have the empty step everywhere (Groupprice etc.)

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

  • yoso
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 2 months ago #92481 by yoso
Replied by yoso on topic How can I get an empty step?
Hi,

please put this change in your standard-install. Thx!

Regards

YoSo

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

Moderators: Tuan Pham Ngoc