OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Features manager problem (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Features manager problem

tegazinho (Visitor)
Posts: 0
graphgraph
User Offline
Features manager problem 6 Years, 11 Months ago
Karma: 0  
Why are the features that I set for each estate from the features manager for some estates are not showing in the frontend when I go to view the house and check the "all information" tab?

It looks like completely random is showing the list of features from some estates and it is not for the others.

I check all the features in the manager and they are all published
Logged Logged
The administrator has disabled public write access.
tegazinho (Visitor)
Posts: 0
graphgraph
User Offline
Re:Features manager problem 6 Years, 11 Months ago
Karma: 0  
Ok I figure it out the problem but I don't know how to fix it,

basically when I save the estate with the features I want, on the table _rem_feature_house what's saved on the fk_houseid is the $houseid from the estate but when I go see the estate is not showing the features because what it should have been on the fk_houseid column on the db is the $id, I discovered that by manually changing the fk_houseid value on the database for the $id that I took from the # column

any ideas how I can fix this?
Logged Logged
The administrator has disabled public write access.
tegazinho (Visitor)
Posts: 0
graphgraph
User Offline
Re:Features manager problem 6 Years, 11 Months ago
Karma: 0  
Found it, all good now

Code:

 $query .= "FROM #__rem_feature_houses ";
                $query .= "WHERE fk_featureid =" . $house_feature[$i]->id . " AND fk_houseid =" . $house->houseid;



Changed it to:
Code:


                $query .= "FROM #__rem_feature_houses ";
                $query .= "WHERE fk_featureid =" . $house_feature[$i]->id . " AND fk_houseid =" . $house->id;



And all the features are showing
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:Features manager problem 6 Years, 11 Months ago
Karma: 3  
Hello,

Is everything good for you?

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