Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Comparing #10 with #11

Content

[...]
**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 */
[...]