Wiki

Articles tagged with "assets", sorted by date (updated)X
Displaying 1-10 of 11 result(s).

Boost composer-asset-plugin update speed

Updated 7 months ago by samdarkTips0 comments – viewed 6,152 times – ( +5 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

Yii2cdn Component

Updated 10 months ago by junaidatariHow-tos0 comments – viewed 8,866 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

`forceCopy` per Asset Bundle

Updated 2 years ago by schmunkHow-tos0 comments – viewed 4,063 times – ( +1 ) – version 2.0
Note: The following document describes a possible workaround, if you have issues with asset publishing. For many people this will just work fine.

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

Updated 2 years ago by robregonmHow-tos2 comments – viewed 11,606 times – ( +11 ) – version 2.0
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.

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Updated 2 years ago by Kartik VFAQs2 comments – viewed 22,779 times – ( +40 / -4 ) – version 2.0
With Yii Framework 2.0, one of the many changes, that Yii 1.x developers will face is removal of all client helpers and revamp of the CClientScript functionality. For example no more CHtml::ajaxLink or Html::ajaxLink. How do you cater to such requirements in Yii 2.0?

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Updated 3 years ago by aarondfrancisTutorials1 comment – viewed 6,243 times – ( +7 )
Hello everybody.
tags: heroku, assets

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

Updated 4 years ago by resurtmHow-tos2 comments – viewed 24,230 times – ( +7 / -1 ) – version 1.1
From time to time people ask about registry...

AssetManager: clearing browser's cache on site update

Updated 4 years ago by dhampikHow-tos5 comments – viewed 36,976 times – ( +19 ) – version 1.1
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.

Understanding "Assets"

Updated 5 years ago by GOshaTutorials12 comments – viewed 157,320 times – ( +57 ) – version 1.1
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

Send asset folder path to a javascript of a widget

Updated 5 years ago by sensorarioTips4 comments – viewed 22,771 times – ( +4 ) – version 1.1
When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this: