configure closeText per Type

Issue #241 new
Lucky Vic
created an issue

Try this code (from docs)

$this->widget('bootstrap.widgets.TbAlert', array(
        'block'=>true, // display a larger alert block?
        'fade'=>true, // use transitions?
        'closeText'=>'×', // close link text - if set to false, no close link is displayed
        'alerts'=>array( // configurations per alert type
            'success'=>array('block'=>true, 'fade'=>true, 'closeText'=>'o'), // success, info, warning, error or danger
// change closeText to 'o'

the code should make alert with 'o' as close button, but the button show nothing.

btw thanx for great extension... :)

Comments (3)

  1. Log in to comment