etoastr toastrjs for Yii framework flash messages

  1. Requirements
  2. Usage
  3. Resources

Small widget for displaying awesome flash messages

Requirements

Yii 1.1 or above

Usage

Unpack to protected/extensions/widgets

in your theme or the view where you want to use the flash messages put this:

<?php
    $this->widget('ext.widgets.etoastr.EToastr',array(
    	'flashMessagesOnly'=>true, //default to false
		'message'=>'will be ignored', //because flashOnlyMessages is true
		//the options passed to the plugin
    	'options'=>array(
    		'positionClass'=>'toast-top-right',
    		'fadeOut'	=>	1000,
    		'timeOut'	=>	10000,
    		'fadeIn'	=>	1000
    		)
    	));
    ?>

Resources

10 0
20 followers
507 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: Cherif
Created on: Mar 22, 2013
Last updated: 10 years ago

Downloads

show all

Related Extensions