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
User Contributed Notes
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.