Bootstrap short notifications
Requirements ¶
- Bootstrap 3.x
- Yii 1.x
Usage ¶
1) Extract content in your extensions directory
2) Add in layout: ~~~ $this->widget('ext.notify.Notify'); ~~~
3) Woad your message as follows. ~~~ Yii::app()->user->setFlash('success', 'Your content...'); ~~~
Note ¶
You can change the color of the message, simply replace "success" for the types of default bootstrap alerts
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.