Remove booking link in OpenRealEstateV1.33.0

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Remove booking link in OpenRealEstateV1.33.0

Postby Lightbulb » 18 Jan 2021, 14:20

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 ?
Lightbulb
Stranger
 
Posts: 10
Joined: 10 Jan 2021, 19:53
Reputation point: 0

Re: Remove booking link in OpenRealEstateV1.33.0

Postby Lightbulb » 18 Jan 2021, 18:23

Now Sorted.
Lightbulb
Stranger
 
Posts: 10
Joined: 10 Jan 2021, 19:53
Reputation point: 0

Re: Remove booking link in OpenRealEstateV1.33.0

Postby andipas » 19 Jan 2021, 11:56

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'),
        );
 
andipas
Web Developer
Web Developer
 
Posts: 156
Joined: 28 Dec 2011, 22:37
Reputation point: 1


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 32 guests

cron