Support Online: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

lock I need a new tab

More
9 years 7 months ago #3825 by Jorge
I need a new tab was created by Jorge
Hello,

My client requires recent changes:

- I need to add a new TAB (area and price) for details of each property. (I am sending a picture)

The HTML code I need to insert in each property is:
<table width="100%" border="1">
  <tr>
    <td>Unidad</td>
    <td>Dormitorios</td>
    <td>Área Techada</td>
    <td>Área Ocupada</td>
    <td>Precio Dólares</td>
    <td>Precio Soles</td>
    <td>Planos</td>
  </tr>
  <tr>
    <td>A-01</td>
    <td>3</td>
    <td>115.92 m²</td>
    <td>115.92 m²</td>
    <td>$ 146,059.20</td>
    <td>S/. 452,783.52</td>
    <td><a href="#" target="_blank">Ver más</a></td>
  </tr>
  <tr>
    <td>A-01</td>
    <td>3</td>
    <td>115.92 m²</td>
    <td>115.92 m²</td>
    <td>$ 146,059.20</td>
    <td>S/. 452,783.52</td>
    <td><a href="#" target="_blank">Ver más</a></td>
  </tr>
  <tr>
    <td>A-01</td>
    <td>3</td>
    <td>115.92 m²</td>
    <td>115.92 m²</td>
    <td>$ 146,059.20</td>
    <td>S/. 452,783.52</td>
    <td><a href="#" target="_blank">Ver más</a></td>
  </tr>
  <tr>
    <td>A-01</td>
    <td>3</td>
    <td>115.92 m²</td>
    <td>115.92 m²</td>
    <td>$ 146,059.20</td>
    <td>S/. 452,783.52</td>
    <td><a href="#" target="_blank">Ver más</a></td>
  </tr>
  </table>
Attachments:
The topic has been locked.
More
9 years 7 months ago #3826 by Huyen Tran
Replied by Huyen Tran on topic I need a new tab
Dear jomachc28.
Thanks you for using product our.
If you want add a new tab and add your code.
You can do the below:
Please find file: .../templates/jux_realestate/html/com_jux_real_estate/realty.php
add line code after line 178
if ($item->price) {
echo '<li class=""><a href="#price" data-toggle="tab">'.JText::_('COM_JUX_REAL_ESTATE_DETAILREALTY_PRICE').'</a></li>';
}
?>

add your html code after line 460
<?php
if ($item->price) {
?>
<div class="tab-pane fade" id="price">

<div class="row">
<div class="col-xs-12">
<table width="100%" border="1">
<tr>
<td>Unidad</td>
<td>Dormitorios</td>
<td>Área Techada</td>
<td>Área Ocupada</td>
<td>Precio Dólares</td>
<td>Precio Soles</td>
<td>Planos</td>
</tr>
<tr>
<td>A-01</td>
<td>3</td>
<td>115.92 m²</td>
<td>115.92 m²</td>
<td>$ 146,059.20</td>
<td>S/. 452,783.52</td>
<td><a href="#" target="_blank">Ver más</a></td>
</tr>
<tr>
<td>A-01</td>
<td>3</td>
<td>115.92 m²</td>
<td>115.92 m²</td>
<td>$ 146,059.20</td>
<td>S/. 452,783.52</td>
<td><a href="#" target="_blank">Ver más</a></td>
</tr>
<tr>
<td>A-01</td>
<td>3</td>
<td>115.92 m²</td>
<td>115.92 m²</td>
<td>$ 146,059.20</td>
<td>S/. 452,783.52</td>
<td><a href="#" target="_blank">Ver más</a></td>
</tr>
<tr>
<td>A-01</td>
<td>3</td>
<td>115.92 m²</td>
<td>115.92 m²</td>
<td>$ 146,059.20</td>
<td>S/. 452,783.52</td>
<td><a href="#" target="_blank">Ver más</a></td>
</tr>
</table>

</div>
</div>
</div>
<?php }
?>
Best regards,
Huyen Tran

Best Regards,
Huyen Tran
The topic has been locked.
More
9 years 7 months ago #3851 by Jorge
Replied by Jorge on topic I need a new tab
I followed your instructions and does not work.

It is important that each realty has a different HTML code in each TAB.

Deputy realty.php with the changes.

URL TEST: LINK
The topic has been locked.
More
9 years 7 months ago - 9 years 7 months ago #3874 by Huyen Tran
Replied by Huyen Tran on topic I need a new tab
Dear jomachc28.
Please give me link your site and your account. I will test for you via private messages.
Best Regards,
Huyen Tran

Best Regards,
Huyen Tran
Last edit: 9 years 7 months ago by Huyen Tran.
The topic has been locked.
Moderators: Jackie
Time to create page: 0.057 seconds
Powered by Kunena Forum