OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Display category name (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Display category name

Dmitry (Visitor)
Posts: 0
graphgraph
User Offline
Display category name 6 Years, 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Display category name 6 Years, 4 Months ago
Karma: 102  
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
»