Wiki

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

Clean JavaScript code in your views

Created about a year ago by nineinchnickTutorials6 comments – viewed 20,430 times – ( +20 ) – version all
This tutorial presents a way of separating JS code from views and passing to it values from PHP.

Front-end developer's guide

Created 3 years ago by jonahTutorials5 comments – viewed 22,811 times – ( +11 ) – version 1.1
This wiki is a work in progress.

Saving CGridView filter

Created about a year ago by sefburhanTutorials5 comments – viewed 5,362 times – ( +27 ) – version 1.1
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

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

Created 11 months ago by Kartik VFAQs1 comment – viewed 9,220 times – ( +37 / -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?