- Posts: 16
- Thank you received: 0
OS Property support center
two questions in the description of the property
- Marcos
- Topic Author
- Offline
- New Member
-
Less
More
11 years 8 months ago - 11 years 8 months ago #33875
by Marcos
two questions in the description of the property was created by Marcos
Please see the attached image.
1- How do I show here the “Number rooms”?
2 - How do I change the word sqft, since she is not in the language file?
Thanks
1- How do I show here the “Number rooms”?
2 - How do I change the word sqft, since she is not in the language file?
Thanks
Attachment not found
Attachments:
Last edit: 11 years 8 months ago by Marcos.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13024
- Thank you received: 1690
11 years 8 months ago #33877
by Mr. Dam
Replied by Mr. Dam on topic Re: two questions in the description of the property
Hi marcos,
1. To add room into property details page, please follow these steps
Go to file components > com_osproperty > templates > theme1 (you theme is being used) > details.html.tpl.pgp
find
<?php
if(($row->bath_room > 0) and ($configClass == 1)){
?>
<li class="propertyinfoli"><strong><?php echo JText::_('OS_BATHS')?>: </strong><span><?php echo $row->bath_room?></span></li>
<?php
}
?>
And change to
<?php
if(($row->bath_room > 0) and ($configClass == 1)){
?>
<li class="propertyinfoli"><strong><?php echo JText::_('OS_BATHS')?>: </strong><span><?php echo $row->bath_room?></span></li>
<?php
}
?>
<li class="propertyinfoli"><strong><?php echo JText::_('OS_ROOMS')?>: </strong><span><?php echo $row->rooms;?></span></li>
2 If you want to translate sqft, please go to language file. If you are using English, it's
language > en-GB > en-GB.com_osproperty.ini
and add this line to last file
SQFT="You content"
Good luck
Dam
1. To add room into property details page, please follow these steps
Go to file components > com_osproperty > templates > theme1 (you theme is being used) > details.html.tpl.pgp
find
<?php
if(($row->bath_room > 0) and ($configClass == 1)){
?>
<li class="propertyinfoli"><strong><?php echo JText::_('OS_BATHS')?>: </strong><span><?php echo $row->bath_room?></span></li>
<?php
}
?>
And change to
<?php
if(($row->bath_room > 0) and ($configClass == 1)){
?>
<li class="propertyinfoli"><strong><?php echo JText::_('OS_BATHS')?>: </strong><span><?php echo $row->bath_room?></span></li>
<?php
}
?>
<li class="propertyinfoli"><strong><?php echo JText::_('OS_ROOMS')?>: </strong><span><?php echo $row->rooms;?></span></li>
2 If you want to translate sqft, please go to language file. If you are using English, it's
language > en-GB > en-GB.com_osproperty.ini
and add this line to last file
SQFT="You content"
Good luck
Dam
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.