Revision #11 has been created by alrazi on Jan 8, 2018, 8:10:37 AM with the memo:
update code typo
« previous (#10)
Changes
Title
unchanged
Activating Bootstrap 3 Tooltips & Popover for your Yii Site.
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
yii, yii2, bootstrap, bootstrap3, tooltip, popover
Content
changed
[...]
**Step 1:** Initialize the Bootstrap Tooltip & Popover plugins in your view layout file `@web\views\layouts\main.php`. Add this to somewhere in the beginning head section (after you have loaded the Jquery using your AppAsset or something similar).
```php
$js = <<< 'SCRIPT
'
/* To initialize BS3 tooltips set this below */
$(function () {
$("[data-toggle='tooltip']").tooltip();
});;
/* To initialize BS3 popovers set this below */[...]