- Posts: 5
- Thank you received: 0
OS Property support center
SOLVED !!! Featured Properties Module
- Chris
- Topic Author
- Offline
- New Member
-
Less
More
7 years 9 months ago - 7 years 9 months ago #100225
by Chris
SOLVED !!! Featured Properties Module was created by Chris
Hello,
This module shows the # of bathrooms before bedrooms.
How can I edit to so that bedrooms are shown before bathrooms?
Thanks
This module shows the # of bathrooms before bedrooms.
How can I edit to so that bedrooms are shown before bathrooms?
Thanks
Last edit: 7 years 9 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
7 years 9 months ago #100251
by Mr. Dam
Replied by Mr. Dam on topic Featured Properties Module
Hi Chris,
Can you please send me the screenshot of the Feature properties module. I'll check to see if we can change Bedrooms to Bathrooms
Thanks
Dam
Can you please send me the screenshot of the Feature properties module. I'll check to see if we can change Bedrooms to Bathrooms
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Chris
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
7 years 9 months ago #100293
by Chris
Replied by Chris on topic Featured Properties Module
Hi,
I attached a screenshot of the module on the homepage.
On the bottom you can see bathrooms shown before bedrooms, for example 2 then 3.
I would like to find where I can edit the code (or whatever needs to be done) in order for it to show bedrooms first.
Thanks
I attached a screenshot of the module on the homepage.
On the bottom you can see bathrooms shown before bedrooms, for example 2 then 3.
I would like to find where I can edit the code (or whatever needs to be done) in order for it to show bedrooms first.
Thanks
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
7 years 9 months ago #100319
by Mr. Dam
Replied by Mr. Dam on topic Featured Properties Module
Hi,
Please open file:
root > modules > mod_ospropertyrandom > tmpl > default.php
Find:
and change to
Thanks
Dam
Please open file:
root > modules > mod_ospropertyrandom > tmpl > default.php
Find:
Code:
if(($show_bedrooms == 1) and ($property->bed_room > 0)){
$addtionalArr[] = "<span class='bedroom_label'><i class='ospico-bed ".$font_height."'></i> ".$property->bed_room."</span>";
}
if(($show_bathrooms == 1) and ($property->bath_room > 0)){
$addtionalArr[] = "<span class='bedroom_label'><i class='ospico-bath ".$font_height."'></i> ".OSPHelper::showBath($property->bath_room)."</span>";
}
Code:
if(($show_bathrooms == 1) and ($property->bath_room > 0)){
$addtionalArr[] = "<span class='bedroom_label'><i class='ospico-bath ".$font_height."'></i> ".OSPHelper::showBath($property->bath_room)."</span>";
}
if(($show_bedrooms == 1) and ($property->bed_room > 0)){
$addtionalArr[] = "<span class='bedroom_label'><i class='ospico-bed ".$font_height."'></i> ".$property->bed_room."</span>";
}
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Chris
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
7 years 9 months ago #100468
by Chris
Replied by Chris on topic Featured Properties Module
Worked perfectly. Thank you so much!
Please Log in or Create an account to join the conversation.
- Manuela Riegler
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 2 months ago #108694
by Manuela Riegler
Replied by Manuela Riegler on topic Featured Properties Module
Hi
Is it possible to display the Lot Size AND the sqmt in the Random Module?
I think this make sense, and to me it is necessary ... i habe a lot of properties in the countries outside cities ...
Waiting fpr your answer
Best Regards

I think this make sense, and to me it is necessary ... i habe a lot of properties in the countries outside cities ...
Waiting fpr your answer

Best Regards
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
7 years 2 months ago #108725
by Mr. Dam
Replied by Mr. Dam on topic Featured Properties Module
@Manuela Riegler: Unfortunately, nope
Please Log in or Create an account to join the conversation.
- Manuela Riegler
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 2 months ago #108905
by Manuela Riegler
Replied by Manuela Riegler on topic Featured Properties Module
Thanks, made a compromise ... "new mandatory field" lot size and in the preview it will now be displayed bolded 
Best Regards, Manuela

Best Regards, Manuela
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.