Page 1 of 1

Remove booking link in OpenRealEstateV1.33.0

PostPosted: 18 Jan 2021, 14:20
by Lightbulb
Hi.
How do i remove the "booking link" from the top left hand side of the main page in OpenRealEstateV1.33.0 ?

As i can`t see it anywhere on the forum, as it is not in the same file as previous versions.
Can anyone help ?

Re: Remove booking link in OpenRealEstateV1.33.0

PostPosted: 18 Jan 2021, 18:23
by Lightbulb
Now Sorted.

Re: Remove booking link in OpenRealEstateV1.33.0

PostPosted: 19 Jan 2021, 11:56
by andipas
In file protected\helpers\HMenu.php

remove
Code: Select all

        $controller
->aData['userCpanelItems'][] = array(
            
'label' => tt('Reserve apartment''common'),
            
'url' => array('/booking/main/mainform'),
            
'visible' => Yii::app()->user->checkAccess('backend_access') === false,
            
'linkOptions' => array('class' => 'fancy mgp-open-ajax'),
            
'itemOptions' => array('class' => 'depth_zero'),
        );