Wiki

Articles tagged with "assets", sorted by viewsX
Displaying 1-5 of 5 result(s).

Understanding "Assets"

Created 2 years ago by Steve FriedlTutorials11 comments – viewed 63,328 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.

AssetManager: clearing browser's cache on site update

Created about a year ago by dhampikHow-tos2 comments – viewed 12,090 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,310 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,972 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,349 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