OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Display category name
#38809
Dmitry (Visitor)
Fresh Boarder
Posts: 1
graphgraph
User Offline
Display category name 1 Year, 4 Months ago Karma: 0  
Hello.

How to display the category name on page "view_house"?
Not found this parameter in settings.

Thank you.
 
Logged Logged  
  The administrator has disabled public write access.
#38857
admin (Admin)
Admin
Posts: 6674
graph
User Offline Click here to see the profile of this user
Re:Display category name 1 Year, 4 Months ago Karma: 78  
Hello

I am sorry, we not show category name in one house layout.

If this important for you
We may propose to you order this as "customization service".
Please write to OrdaSoft contact form (ordasoft.com/contact-us-form) with full details description.
How all must look and work. And we will give to you quota

If you PHP developer you may check code below

to file:
{your site}/com_realestatemanager/views/view_house/tmpl/default.php

Need add code like:

$query = "SELECT distinct c.title AS category_titel FROM #__rem_houses AS b
LEFT JOIN #__rem_categories AS hc ON b.id=hc.iditem
LEFT JOIN #__rem_main_categories AS c ON hc.idcat = c.id " .
" WHERE b.id= ".$house->id ;
$database->setQuery($query);
$categories = $database->loadObjectList();
print_r($categories);


Please backup this file first

REgards
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 head has a typical person?