Wiki articles tagged with "CClientScript"

Showing 1-4 of 4 items.

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

Created 6 years ago by Kartik V, updated 6 years ago by Kartik V.

Alternatively, inline assets (JS/CSS) can be registered at runtime from within the View. For example you can clearly simulate the ajaxLink feature using a inline javascript. Its however recommended if you can merge where possible, client code (JS/CSS) into separate JS/CSS files and loaded through the AssetBundle. Note there is no more need of a CClientScript anymore:

0 2
Viewed: 36 849 times
Version: 2.0
Category: FAQs

Saving CGridView filter

Created 6 years ago by sefburhan, updated 6 years ago by CeBe.

In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

1 0
Viewed: 11 405 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

Created 7 years ago by nineinchnick, updated a year ago by samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
Viewed: 36 464 times
Version: 1.1
Category: Tutorials

Front-end developer's guide

Created 8 years ago by jonah, updated 8 years ago by waitekk.

This wiki is a work in progress.

10 0
Viewed: 34 820 times
Version: 1.1
Category: Tutorials