OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: order amenities
#23893
oscarsinha (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
order amenities 3 Months, 2 Weeks 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.
#23927
admin (Admin)
Admin
Posts: 5048
graph
User Offline Click here to see the profile of this user
Re:order amenities 3 Months, 2 Weeks ago Karma: 61  
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.
#23937
oscarsinha (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:order amenities 3 Months, 2 Weeks 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.
#23963
admin (Admin)
Admin
Posts: 5048
graph
User Offline Click here to see the profile of this user
Re:order amenities 3 Months, 1 Week ago Karma: 61  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?