Wiki articles in category How-tos tagged with "assets"

Showing 1-6 of 6 items.

`forceCopy` per Asset Bundle

Created 9 years ago by schmunk, updated 9 years ago by schmunk.

During development and depending on your setup you may need to use the options forceCopy or linkAssets of the asset manager to work around possible file-system and permission issues.

1 0
1 follower
Viewed: 12 878 times
Version: 2.0
Category: How-tos

Prevent asset publishing for CListView

Created 12 years ago by Mike, updated 12 years ago by Mike.

If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:

2 0
6 followers
Viewed: 14 171 times
Version: 1.1
Category: How-tos

Yii2cdn Component

Created 8 years ago by junaidatari, updated 8 years ago by junaidatari.

A Yii Framework 2 component for using assets in different environments (Local/CDNs)

0 0
2 followers
Viewed: 17 931 times
Version: 2.0
Category: How-tos
Tags: assets, CDN, yii2

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 9 years ago by robregonm, updated 9 years ago by robregonm.

By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

8 0
6 followers
Viewed: 34 022 times
Version: 2.0
Category: How-tos

Yii registry, how to use it, does it exist at all?

Created 12 years ago by dckurushin, updated 11 years ago by resurtm.

If you coming to Yii with experience with Zend Framework for example, most likely you get used to

Zend_Registry::get('paramName');
Zend_Registry::set('paramName');
6 0
9 followers
Viewed: 35 999 times
Version: 1.1
Category: How-tos

AssetManager: clearing browser's cache on site update

Created 12 years ago by dhampik, updated 11 years ago by dhampik.

If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

15 0
25 followers
Viewed: 57 611 times
Version: 1.1
Category: How-tos