OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Features manager problem
#30411
tegazinho (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Features manager problem 6 Months, 1 Week 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.
#30435
tegazinho (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Features manager problem 6 Months, 1 Week 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.
#30445
tegazinho (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Features manager problem 6 Months, 1 Week 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.
#30566
RomanD (Admin)
Support
Admin
Posts: 471
graphgraph
User Offline Click here to see the profile of this user
Gender: Male OrdaSoft
Re:Features manager problem 6 Months, 1 Week 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
What are you looking for?
Anti-spam question: How many eyes has a typical person?