OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Hiding Review Button hides Location Map also (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Hiding Review Button hides Location Map also

prisasm (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Hiding Review Button hides Location Map also 11 Years, 5 Months ago
Karma: 0  
Hi OrdaSoft,

I am using Real Estate Manager PRO with Luxury Apartments template.

On a fresh install, without any modifications, setting "Show Button Add Reviews" to "NO", in the Real Estate Module Settings (in the backend) hides the Add Reviews button but it also hides the map for the location of the properties.

Setting it back to "YES", shows back the map.

It seems like showing the map is somehow linked to the setting of the "Show Button Add Reviews" setting, at least for this template.

I have fixed this using a hack but an official solution would be nice.

Thank you!
Logged Logged
The administrator has disabled public write access.
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:Hiding Review Button hides Location Map also 11 Years, 5 Months ago
Karma: 7  
Hello,

Thank you for your report,

In few hours we check it and will write solution


Best Regards,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Hiding Review Button hides Location Map also 11 Years, 5 Months ago
Karma: 101  
hello,

Please go to file:
{yours site}/components/com_realestatemanager/realestatemanager.html.php

find function: displayHouse

and replace below code :
Code:

function displayHouse( & $house, & $tabclass, & $params, & $currentcat, & $rating, & $house_photos,$id, $catid,$option){
    global $hide_js,$mainframe, $Itemid, $realestatemanager_configuration, $mosConfig_live_site, $mosConfig_absolute_path, $my, $doc;



to code:

Code:

function displayHouse( & $house, & $tabclass, & $params, & $currentcat, & $rating, & $house_photos,$id, $catid,$option){
    global $hide_js,$mainframe, $Itemid, $realestatemanager_configuration, $mosConfig_live_site, $mosConfig_absolute_path, $my, $doc;
    JHTML::_('behavior.mootools');



Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
prisasm (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Hiding Review Button hides Location Map also 11 Years, 5 Months ago
Karma: 0  
Hi,

If I change the code to what you shown, unfortunately the house is not displayed at all. All I get is a blank page.

IE says there's a programming error.

I have copy/pasted your code over the old code and this is how the function looks like:

Code:


function displayHouse( & $house, & $tabclass, & $params, & $currentcat, & $rating, & $house_photos,$id, $catid,$option){
    global $hide_js,$mainframe, $Itemid, $realestatemanager_configuration, $mosConfig_live_site, $mosConfig_absolute_path, $my, $doc;
    JHTML::_('behavior.mootools');

Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Hiding Review Button hides Location Map also 11 Years, 5 Months ago
Karma: 101  
Hello,

WE checked that and that must be help !

Please for to Joomla Global setting and set max error reporting, What error you see ?

Thanks,
Ordasoft tream
Logged Logged
The administrator has disabled public write access.
prisasm (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Hiding Review Button hides Location Map also 11 Years, 5 Months ago
Karma: 0  
Hi Admin,

You are correct. Your fix corrected the problem; not sure why it didn't work the first time, maybe a caching issue.

Thank you.
Logged Logged
The administrator has disabled public write access.
Go to top
»