Send Message

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.

Send Message

Postby Ashwini » 31 Aug 2015, 11:42

how to redirect to the home page , after click on send message link , on the property details page..
Ashwini
Passer
 
Posts: 44
Joined: 03 Aug 2015, 12:41
Reputation point: 0

Re: Send Message

Postby andipas » 02 Sep 2015, 10:32

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);
 
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 14 guests

cron