by Batman93 » 07 May 2017, 05:01
I have this error...
Cannot modify header information - headers already sent by (output started at xxxxxxx/protected/components/Controller.php:1)
Is there a way to also remove the "Reserve" button ?
I removed
if(($data->owner_id != Yii::app()->user->getId()) && $data->type == Apartment::TYPE_RENT && !$data->deleted){
echo '<div>'.CHtml::link(tt('Booking'), array('/booking/main/bookingform', 'id' => $data->id), array('class' => 'apt_btn fancy mgp-open-ajax')).'</div><div class="clear"></div>';
}
in themes/classic/views/modules/apartments/views/_view.php
Thoughts ?
Thanks !!!