OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Problems with categories
#6965
Tomczak (User)
MTTI IT Services, Warsaw, Poland
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Gender: Male MTTI IT Services Location: Warsaw, Poland Birthdate: 1986-10-02
Problems with categories 3 Years, 7 Months ago Karma: 0  
I have a problem with categories. I have 3 levels of categories. First two levels doesn't contain any items besides other categories.

As example:
Code:


-Buy
--New
---Houses
---Flats
--Used
---Houses
---Flats
-Rent
--Houses
--Flats



In frontend, when I'm trying to view contents of first level category, a.e. Buy, script returns error
Code:


Fatal error: Call to undefined function is_exist_subcategory_houses() in /home/masterte/public_html/polonium.pl/components/com_realestatemanager/realestatemanager.php on line 957

 
Logged Logged  
  The administrator has disabled public write access.
#6971
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Problems with categories 3 Years, 7 Months ago Karma: 61  
Hello,

Please in file:
{yours site}/components/com_realestatemanager/realestatemanager.php

find row:
Code:

if(  is_exist_subcategory_houses($k->id) ) return true;


and replace to:
Code:

if( PHP_realestatemanager::is_exist_subcategory_houses($k->id) ) return true;


Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#6974
Tomczak (User)
MTTI IT Services, Warsaw, Poland
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Gender: Male MTTI IT Services Location: Warsaw, Poland Birthdate: 1986-10-02
Re:Problems with categories 3 Years, 7 Months ago Karma: 0  
Solution works perfect. Thank you.
 
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?