OS Property support center

Number of bathrooms how to change to be 0.5, 1, 1.5, 2, 2.5 etc instead of 1,2..

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #141588 by Branko Pilic
Hi,

Where I can change numbers/charachters of bathrooms?

At the moment number of bathrooms are displayd as
1+ 
2+ 
3+ 
4+ 
5+

I need to change dropdwon list to be shown as:
0.5 

1.5 
2
2.5
3
3.5
4
4.5
5
5.5
6
6.5
7

See attachment. If I can change this type of numbers/characters in some PHP file just let me know in which file and where I can change the way of displaying dropdown characters?



Hi,

Where I can change numbers/charachters of bathrooms?

At the moment number of bathrooms are displayd as
1+ 
2+ 
3+ 
4+ 
5+

I need to change dropdwon list to be shown as:
0.5 

1.5 
2
2.5
3
3.5
4
4.5
5
5.5
6
6.5
7

See attachment. If I can change this type of numbers/characters in some PHP file just let me know in which file and where I can change the way of displaying dropdown characters?



  
Attachments:

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

More
4 years 2 months ago #141594 by Mr. Dam
Hi,
In file: root -> modules -> mod_ospropertysearch -> mod_ospropertysearch.php
Find code
Code:
for($i=1;$i<=5;$i++){ $bathArr[] = JHTML::_('select.option',$i,$i.'+'); }
and you will able to modify the bathroom options
Thanks
Dam
The following user(s) said Thank You: Branko Pilic

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

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #141614 by Branko Pilic
Thanks a lot Dam, your suggestion worked out just perfect. Once again thank you for your time and support regarding this matter.

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

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #141615 by Branko Pilic
Sorry, one more thing!

This sugestion worked great for module search and now on the back end I have to change display numbers option as well.

Dashboard
> Property information
> Basic information shows numbers as 1, 2, 3, 4, 5, 6, 7, 9 (see attached screenshot)
Which PHP file is that, where I can change PHP file?

In mod_ospropertysearch.phpI have change the code to:
Code:
for($i=0.5;$i<=10;$i++){     $bathArr[] = JHTML::_('select.option',$i,$i.''); }

And this solution helped me to display numbers as 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 6.5, 7, 7.5, 8, 8.5, 9, 9.5 etc. 
 
Attachments:

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

More
4 years 2 months ago #141635 by Mr. Dam
Please submit ticket and send your site url with super admin account, i will help you to make the modification
Thanks
Dam
The following user(s) said Thank You: Branko Pilic

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

More
4 years 2 months ago #141652 by Mr. Dam
Hi,
Please click on My Downloads at the top to raise new ticket on category: OS Property, do not provide your site credentials here, we won't be responsibility when your site is hacked.
Thanks
Dam

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

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #141677 by Branko Pilic
Hi Dam,

Sorry, I did not know how to send you that information.

I just open ticket id is below that contains information that you need, in addtion if you have hosting information to access phpmyadmin just let me knowTicket ID108764

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

More
4 years 2 months ago #141680 by Mr. Dam
Hi Branko,
I see you ticket already, i will answer you quickly.
Thanks
Dam

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

  • Branko Pilic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #141681 by Branko Pilic
Hi Dam,

Do not rush, take your time.

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

More
4 years 2 months ago #141704 by Mr. Dam
Answered through Ticket system
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan