Jump to content

Yii help..


Ezio

Recommended Posts

How do i display a message in yii with a link using "setflash"

 

in my controller it is:

 Yii::app()->user->setFlash('index','Password Reset Successful click here to login');

and in my view:

echo Yii::app()->user->getFlash('index');  

what i want to do is the "click here" text would be a link to the login page(site/login)..

...any ideas??

Edited by Ezio
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...