OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to display bathrooms in featured house. (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

How to display bathrooms in featured house.

Dcrtz91 (Visitor)
Posts: 0
graphgraph
User Offline
How to display bathrooms in featured house. 7 Years, 8 Months ago
Karma: 0  
I want to display the bathrooms on the featured house, I added the following lines in:
modules/mod_realestatemanager_featured_free_j3/tmpl/default.php

if ($features == 1){
// example of a working category
if (trim($row->house_size)) {
echo "<div class='featured_houses_size featured_houses_inline'>"
."<i class='fa fa-expand'></i> ".($row->house_size)."&nbsp"
._REALESTATE_MANAGER_LABEL_SIZE_SUFFIX . "</div>";
}

//I ADDED THIS LINES BUT IT DOESNT DISPLAY ANYTHING
if (trim($row->bathrooms)) {
echo "<div class='featured_houses_size featured_houses_inline'>"
."<i class='fa fa-tint'></i> ".($row->bathrooms)."&nbsp"
. _REALESTATE_MANAGER_LABEL_BATHROOMS . "</div>";
}
Logged Logged
The administrator has disabled public write access.
RomanD (User)
Support
Platinum Boarder
Posts: 471
graphgraph
User Offline Click here to see the profile of this user
Gender: Male OrdaSoft
Re:How to display bathrooms in featured house. 7 Years, 8 Months ago
Karma: 3  
Hello,

You need in file: mod_realestatemanager_featured_free_j3.php


In line 243 and 273

Code:

 $query = "SELECT h.htitle, h.id, h.image_link, h.hits,  c.id AS catid, ".
      " c.title AS cattitle, h.price, h.published, h.priceunit, ".
      "  h.hlocation, h.featured_clicks, h.featured_shows, h.rooms, ".
      " h.year, h.bedrooms, h.house_size, h.description, h.listing_type



add h.bathrooms

Best Regards,
RomanD
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Dcrtz91 (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to display bathrooms in featured house. 7 Years, 8 Months ago
Karma: 0  
This was the solution, thank you guys for your support!
Logged Logged
The administrator has disabled public write access.
Go to top
»