OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Hiding Review Button hides Location Map also (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Hiding Review Button hides Location Map also
#5971
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 3 Years, 11 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.
#5988
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 3 Years, 11 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.
#5990
admin (Admin)
Admin
Posts: 4856
graph
User Online Now Click here to see the profile of this user
Re:Hiding Review Button hides Location Map also 3 Years, 11 Months ago Karma: 61  
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.
#5991
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 3 Years, 11 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.
#5995
admin (Admin)
Admin
Posts: 4856
graph
User Online Now Click here to see the profile of this user
Re:Hiding Review Button hides Location Map also 3 Years, 11 Months ago Karma: 61  
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.
#6000
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 3 Years, 11 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
What are you looking for?
Anti-spam question: How many eyes has a typical person?