Hello
I want to remove the link for "Booking a Property" i do not wish to use this function
Can i disable this in the admin dashboard or if not can you tell me which page i can alter so the link is not displayed
Many thanks for the great design
Gino
if(($data->owner_id != Yii::app()->user->getId()) && $data->type == 1){
echo '<div>'.CHtml::link(tt('Booking'), array('/booking/main/bookingform', 'id' => $data->id), array('class' => 'apt_btn fancy')).'</div>';
}
array('label' => '|'),
array(
'label' => tt('Reserve apartment', 'common'),
'url' => array('/booking/main/mainform'),
'visible' => Yii::app()->user->getState('isAdmin') === null,
'linkOptions' => array('class' => 'fancy'),
),
if(issetModule('apartmentsComplain')){
if(($data->owner_id != Yii::app()->user->getId())){ ?>
<div>
<?php echo CHtml::link(tt('do_complain', 'apartmentsComplain'), $this->createUrl('/apartmentsComplain/main/complain', array('id' => $data->id)), array('class' => 'fancy')); ?>
</div>
<?php
}
}
micropub wrote:This worked fine for me but how do I remove the 'Booking a Property' button at the bottom of the page?
<div class="footer_request_block">
<a class="link" rel="nofollow" href="<?php echo Yii::app()->createUrl('booking/main/mainform');?>"><?php echo tc('Reserve apartment');?></a>
</div>
Return to Questions and help for changes
Users browsing this forum: No registered users and 54 guests