OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

Joomla Real Estate

Go to bottom Favoured: 0

Order amenities

oscarsinha (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
order amenities 7 Years, 10 Months ago
Karma: 0  
Hi,

Is there anyway to order how the "category for amenities" are shown in the frontend ?

And can the amenities be ordered in the frontend ?

Thanks,
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8356
graph
User Offline Click here to see the profile of this user
Re:order amenities 7 Years, 10 Months ago
Karma: 102  
Hello

In Real estate Manager "amenities" for frontend we prepare:

at file
{yours site}//components/com_realestatemanager/realestatemanager.php

static function showItemREM(
Code:

 
        $query = "SELECT f.* ";
        $query .= "FROM #__rem_feature as f ";
        $query .= "LEFT JOIN #__rem_feature_houses as fv ON f.id = fv.fk_featureid ";
        $query .= "WHERE f.published = 1 and fv.fk_houseid = $id ";
        $query .= "ORDER BY f.categories";
        $database->setQuery($query);
        $house_feature = $database->loadObjectList();



You may change that select

Please before backup this file

Thanks,
Andrew
Logged Logged
The administrator has disabled public write access.
oscarsinha (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:order amenities 7 Years, 10 Months ago
Karma: 0  
Hi,

I inserted the code after the "static function showItemREM("

But it didn't work; it just showed a blank page.


****************************************


****************************************

Is the above the correct file ?

Where do I insert it?

Can you paste it into the correct place?

Thanks,
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8356
graph
User Offline Click here to see the profile of this user
Re:order amenities 7 Years, 10 Months ago
Karma: 102  
Hello ,

You was need edit that code not add !!!

How you need order "amenities" ?

Could you give us
full FTP and admin access
and our team will try to find solution special for You, FTP and admin access You can send to our contact form.
ordasoft.com/contact-us-form


Link on website

Detail description: How reproduce

Site Admin

username
password

FTP

FTP host

FTP username

FTP password

Thanks,
Andrew
OrdaSoft team.
Logged Logged
The administrator has disabled public write access.
Go to top
»