- Posts: 17
- Thank you received: 0
OS Property support center
SOLVED !!! Remove Space from Currency
- Aaron Fisher
- Topic Author
- Offline
- New Member
-
Less
More
9 years 6 months ago - 9 years 6 months ago #71773
by Aaron Fisher
SOLVED !!! Remove Space from Currency was created by Aaron Fisher
Hi
Whereabouts an I remove the space between the currency symbol please.
e.g. £ 299 should be £299
Thank you
Whereabouts an I remove the space between the currency symbol please.
e.g. £ 299 should be £299
Thank you
Last edit: 9 years 6 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 6 months ago #71798
by Mr. Dam
Replied by Mr. Dam on topic Remove Space from Currency
Hi,
To remove the white space between Currency symbol and amount, please follow these steps
1. Open file:
and change to
Good luck
Dam
To remove the white space between Currency symbol and amount, please follow these steps
1. Open file:
2. Findcomponents > com_osproperty > helpers > helper.php
Code:
if ($configClass['currency_position'] == 0) {
return HelperOspropertyCommon::loadCurrency($curr) . " " . HelperOspropertyCommon::showPrice($price);
} else {
return HelperOspropertyCommon::showPrice($price) . " " . HelperOspropertyCommon::loadCurrency($curr);
}
and change to
Code:
if ($configClass['currency_position'] == 0) {
return HelperOspropertyCommon::loadCurrency($curr) . HelperOspropertyCommon::showPrice($price);
} else {
return HelperOspropertyCommon::showPrice($price) . HelperOspropertyCommon::loadCurrency($curr);
}
Good luck
Dam
The following user(s) said Thank You: Aaron Fisher
Please Log in or Create an account to join the conversation.
- Aaron Fisher
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
9 years 6 months ago #71819
by Aaron Fisher
Replied by Aaron Fisher on topic Remove Space from Currency
Great, works perfectly...just couldnt find it anywhere originally 
Thanks very much... I have another question about calling the 'rent_time' from outside the OS component, I will open a new thread.
Thanks again

Thanks very much... I have another question about calling the 'rent_time' from outside the OS component, I will open a new thread.
Thanks again
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.