Wiki

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

Understanding "Assets"

Created 3 years ago by Steve FriedlTutorials11 comments – viewed 110,283 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.

AssetManager: clearing browser's cache on site update

Created 2 years ago by dhampikHow-tos4 comments – viewed 21,773 times – ( +17 ) – 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.

Send asset folder path to a javascript of a widget

Created 2 years ago by sensorarioTips4 comments – viewed 16,004 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:

Prevent asset publishing for CListView

Created 3 years ago by MikeHow-tos2 comments – viewed 7,178 times – ( +2 ) – version 1.1
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

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

Created 2 years ago by dckurushinHow-tos2 comments – viewed 17,479 times – ( +7 / -1 ) – version 1.1
From time to time people ask about registry...

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

Created about a year ago by aarondfrancisTutorials1 comment – viewed 3,492 times – ( +7 )
Hello everybody.
tags: heroku, assets

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

Created 3 months ago by Kartik VFAQs0 comments – viewed 1,336 times – ( +26 / -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?