Wiki

Articles tagged with "assets"X
Displaying 1-5 of 5 result(s).

AssetManager: clearing browser's cache on site update

Created about a year ago by dhampikHow-tos2 comments – viewed 12,107 times – ( +14 )
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.

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

Created about a year ago by dckurushinHow-tos2 comments – viewed 11,313 times – ( +6 )
From time to time people ask about registry...

Send asset folder path to a javascript of a widget

Created about a year ago by sensorarioTips4 comments – viewed 9,981 times – ( +4 )
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:

Prevent asset publishing for CListView

Created 2 years ago by MikeHow-tos2 comments – viewed 5,354 times – ( +2 )
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:
tags: CListView, Assets

Understanding "Assets"

Created 2 years ago by Steve FriedlTutorials11 comments – viewed 63,376 times – ( +51 )
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.