Wiki

Sorted by commentsX
Displaying 21-30 of 692 result(s).

CGridView, CListView and CActiveDataProvider

Created 2 years ago by softarkTutorials21 comments – viewed 78,287 times – ( +45 ) – version 1.1
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Adding search to Yii blog example (using Zend Lucene)

Created 2 years ago by dckurushinTutorials21 comments – viewed 57,713 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 61,448 times – ( +25 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Configuring PhpStorm IDE for Yii

Created 3 years ago by samdarkTips20 comments – viewed 75,717 times – ( +64 / -1 ) – version 1.1
In order to be able to get from render or renderPartial to the view, from widget to widget class, from relations to model classes you need to install additional plugin called YiiStorm.
tags: IDE, PhpStorm

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created about a year ago by Rajith RTips20 comments – viewed 27,661 times – ( +10 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

How to write secure Yii applications

Created 2 years ago by Fran├žois GannazHow-tos19 comments – viewed 149,374 times – ( +100 ) – version 1.1
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

How to use Multiple instances of the same model in the same form

Created 2 years ago by kiran sharmaHow-tos19 comments – viewed 27,607 times – ( +20 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Understanding Virtual Attributes and get/set methods

Created 3 years ago by Steve FriedlTutorials19 comments – viewed 89,533 times – ( +77 ) – version 1.1
When you define or extend a class, you can create class variables and methods in Yii just like you can in any other PHP system:

Working with CGridView in Admin Panel

Created 2 years ago by vibhaJadwaniTutorials18 comments – viewed 59,276 times – ( +42 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 7 months ago by Kartik VTutorials18 comments – viewed 13,346 times – ( +32 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.