Difference between #2 and #3 of
Load the Yii-Bootstrap Extension on Specific Actions

Revision #3 has been created by chuntley on Dec 17, 2012, 3:10:34 PM with the memo:

More explanation on preventing bootstrap loading on delete action
« previous (#2)


Title unchanged

Load the Yii-Bootstrap Extension on Specific Actions

Category unchanged


Yii version unchanged

Tags unchanged

bootstrap, filter

Content changed



This will load bootstrap for all actions in the controller, other than the "delete" action.
 By default the "delete" action does not render a view, which allows us to safely skip bootstrap loading on that action. If you wanted to disable loading bootstrap for another specific action, do the following:

array('ext.bootstrap.filters.BootstrapFilter - delete, uploadajax')
7 0
Viewed: 21 587 times
Version: 1.1
Category: How-tos
Written by: chuntley
Last updated by: chuntley
Created on: Dec 13, 2012
Last updated: 5 years ago
Update Article


View all history