OS Property support center

Is there any way that I can add two words between price scale in search module?

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #141430 by Branko Pilic
Hi,

Is there any way that I can add two words between price scale in search module? 
Here is the example screenshot:  prnt.sc/z0tw0h

Users might do not realize that they can adjust price and I would like to add words scale your price range. I can edit PHP file I just need to know between wich code I can add this two keywords.

Thank you,
Branko

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

More
3 years 3 months ago #141457 by Kelly Turner
Branko,

I'm not sure how it works in OS Property, but in OS Membership I think you would edit text like that in the "Translation" section. Does OS Property have a "Translation" section in the Joomla admin area?

Kelly

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

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #141540 by Branko Pilic
Hi Kelly,

First off, thank you for your time to look on this. Yes, there is "Translation" features in OS Property but this "Red words" from the screenshot:  prnt.sc/z0tw0h  are just an idea where I would like to be able to this short text. It is not the text that actualy exist in that position (between this two price range). I have asked if there is an option to find out where in PHP file I should add this words "Odrediti cenu" in order to display that words in that position (between price range in module search). 

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

More
3 years 3 months ago #141542 by Mr. Dam
Hi Branko,
If you want to modify Price Range filter, you can modify function: showPriceFilter in file: root -> components -> com_osproperty -> helpers -> helper.php
Thanks
Dam

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

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #141545 by Branko Pilic
Grat Dam,

Can you just tell me one more thing:
Which part of the code/line number is related with that position:  (€). 0
here between this two numbers
(€). 500,000
Here is the attachment:
 

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

More
3 years 2 months ago #142036 by Mr. Dam
Hi,
In that function, you'll see these lines:
Code:
(<?php echo HelperOspropertyCommon::loadCurrency(0); ?>).
they are used to show currency, the amounts will be changed when the slider is adjusted
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan