- Posts: 9
- Thank you received: 0
OS Property support center
Studio Apartments or Properties With Zero Bedrooms
- Zucom
- Topic Author
- Offline
- New Member
-
Less
More
11 years 8 months ago #39995
by Zucom
Studio Apartments or Properties With Zero Bedrooms was created by Zucom
Hi
At the moment the number of bedrooms drop down list starts at 1 but we have a lot of apartments with no bedrooms. Is it possible to add an option for no bedrooms? We'd like that option to be called Studio as this is what these are known as in the UK?
This would also need to show in the category listing so where it says:
1 bedroom | 1 bathroom
It should show
Studio | 1 bathroom
Thanks in advance.
At the moment the number of bedrooms drop down list starts at 1 but we have a lot of apartments with no bedrooms. Is it possible to add an option for no bedrooms? We'd like that option to be called Studio as this is what these are known as in the UK?
This would also need to show in the category listing so where it says:
1 bedroom | 1 bathroom
It should show
Studio | 1 bathroom
Thanks in advance.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 8 months ago #39997
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Studio Apartments or Properties With Zero Bedrooms
Hi Zucom,
You can try to setup not to use Bedroom field at backend > OS Property > Configuration > Tab Properties. It will hide the Bedroom field at front-end of OS Property
Thanks
Dam
You can try to setup not to use Bedroom field at backend > OS Property > Configuration > Tab Properties. It will hide the Bedroom field at front-end of OS Property
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Zucom
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 8 months ago #39998
by Zucom
Replied by Zucom on topic Re: Studio Apartments or Properties With Zero Bedrooms
Hi Dam
Thanks for the reply but I think that suggestion would not work.
We want to use the bedrooms field but the software does not allow for properties with zero bedrooms. We have many properties with 1, 2, 3 or more properties but studios aren't allowed for.
This can't be just a UK specific request can it?
Thanks for the reply but I think that suggestion would not work.
We want to use the bedrooms field but the software does not allow for properties with zero bedrooms. We have many properties with 1, 2, 3 or more properties but studios aren't allowed for.
This can't be just a UK specific request can it?
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 8 months ago #39999
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Studio Apartments or Properties With Zero Bedrooms
Hi Zucom,
In fact, when the property doesn't have any bedrooms (0 bedrooms), it won't show that information anymore. So i am a bit confuse with your request. What's "studios" as you want to mention to?
Thanks
dam
In fact, when the property doesn't have any bedrooms (0 bedrooms), it won't show that information anymore. So i am a bit confuse with your request. What's "studios" as you want to mention to?
Thanks
dam
Please Log in or Create an account to join the conversation.
- Zucom
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 8 months ago #40000
by Zucom
Replied by Zucom on topic Re: Studio Apartments or Properties With Zero Bedrooms
Hi Dam
You've just described the problem perfectly so you must understand it.
A studio is what we call a property with zero bedrooms.
When a property has 1 or more bedrooms the listing shows:
1 Bedroom | 1 Bathroom
When there are no beds, nothing is shown for bedrooms so you get:
1 Bathroom
We need to find a way to show "Studio" for when there are zero bedrooms:
Studio | 1 Bathroom
Also on the main listing page with 1 bedrooms+ it shows:
Beds: 1
But for Studios nothing, it needs to show:
Beds: Studio
Does that make sense?
Thanks again.
You've just described the problem perfectly so you must understand it.
A studio is what we call a property with zero bedrooms.
When a property has 1 or more bedrooms the listing shows:
1 Bedroom | 1 Bathroom
When there are no beds, nothing is shown for bedrooms so you get:
1 Bathroom
We need to find a way to show "Studio" for when there are zero bedrooms:
Studio | 1 Bathroom
Also on the main listing page with 1 bedrooms+ it shows:
Beds: 1
But for Studios nothing, it needs to show:
Beds: Studio
Does that make sense?
Thanks again.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 8 months ago #40001
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Studio Apartments or Properties With Zero Bedrooms
Ok Zucom,
I am understand now. To be honest, it's the first time i heard about this case. So i have a bit confuse with your question.
OS Property doesn't have option to show "Studio" as you want. But you can make the modification in the source code to make it to show as you want.
To make the modification, please follow these steps
1. Open file
components > com_osproperty > templates > your_current_template > listing.html.tpl.php
2. find
if($configClass == 1){
if($row->bed_room > 0){
$addInfo[] = $row->bed_room." ".JText::_('OS_BEDROOMS');
}
}
and replace by
if($configClass == 1){
if($row->bed_room == 0){
$addInfo[] = "Beds: Studio ";
}else{
$addInfo[] = "Beds: ".$row->bed_room;
}
}
Good lucks
Dam
I am understand now. To be honest, it's the first time i heard about this case. So i have a bit confuse with your question.
OS Property doesn't have option to show "Studio" as you want. But you can make the modification in the source code to make it to show as you want.
To make the modification, please follow these steps
1. Open file
components > com_osproperty > templates > your_current_template > listing.html.tpl.php
2. find
if($configClass == 1){
if($row->bed_room > 0){
$addInfo[] = $row->bed_room." ".JText::_('OS_BEDROOMS');
}
}
and replace by
if($configClass == 1){
if($row->bed_room == 0){
$addInfo[] = "Beds: Studio ";
}else{
$addInfo[] = "Beds: ".$row->bed_room;
}
}
Good lucks
Dam
Please Log in or Create an account to join the conversation.
- Zucom
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 8 months ago #40010
by Zucom
Replied by Zucom on topic Re: Studio Apartments or Properties With Zero Bedrooms
Thanks Dam
Sorry for the slow response, I had to go out.
I will give this a try tomorrow, is it the same change for the category listings too? I need the Studio tag to show up both in the category listings and the property listing.
Thanks again.
Sorry for the slow response, I had to go out.
I will give this a try tomorrow, is it the same change for the category listings too? I need the Studio tag to show up both in the category listings and the property listing.
Thanks again.

Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 8 months ago #40017
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Studio Apartments or Properties With Zero Bedrooms
Hi Zucom,
Please make the change first, and then, i will answer your other questions.
Thanks
Dam
Please make the change first, and then, i will answer your other questions.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc 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.