Page 1 of 1

Send Message

PostPosted: 31 Aug 2015, 11:42
by Ashwini
how to redirect to the home page , after click on send message link , on the property details page..

Re: Send Message

PostPosted: 02 Sep 2015, 10:32
by andipas
The file - protected/modules/apartments/controllers/MainController.php

after
Code: Select all

Yii
::app()->user->setFlash('success'tt('Thanks_for_request''apartments'));
 


add
Code: Select all

$this
->redirect(Yii::app()->homeUrl);