Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
OS Property support center

two questions in the description of the property

  • Marcos
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago - 13 years 2 months ago #33875 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

Attachment not found

Last edit: 13 years 2 months ago by Marcos.

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

More
13 years 2 months ago #33877 by Mr. Dam
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

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

Moderators: Mr. Dam, Nguyen Phu Quan