Page 1 of 1

contact form directly in apartment page

PostPosted: 19 Feb 2018, 15:59
by jmclement
Hi all,

I'd like to have to contact form directly displayed in the object (apartment) page without the fancy box, any idea how to do this?

Re: contact form directly in apartment page

PostPosted: 21 Feb 2018, 09:22
by Xpycm
Hello.

FREE version:
themes\classic\views\modules\apartments\views\_user_info.php file
Remove
Code: Select all
'class'=>'fancy mgp-open-ajax'

from
Code: Select all
echo '<li>' . $icon . CHtml::link(tt('request_for_property'), $data->getUrlSendEmail(), array('class'=>'fancy mgp-open-ajax')) . '</li>';



PRO version:
themes\atlas\views\modules\apartments\views\view.php file
Remove
Code: Select all
'class' => 'fancy mgp-open-ajax''

from
Code: Select all
echo '<li class="li2">' . CHtml::link(tt('request_for_property'), $model->getUrlSendEmail(), array('class' => 'fancy mgp-open-ajax')) . '</li>';

Re: contact form directly in apartment page

PostPosted: 01 Mar 2018, 13:16
by jmclement
Thanks got it