Wiki

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

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

Created 2 years ago by kiran sharmaHow-tos21 comments – viewed 39,001 times – ( +22 / -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.

CGridView, CListView and CActiveDataProvider

Created 2 years ago by softarkTutorials21 comments – viewed 97,067 times – ( +46 ) – 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 3 years ago by dckurushinTutorials21 comments – viewed 65,319 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 3 years ago by Gerhard LiebenbergTutorials20 comments – viewed 75,415 times – ( +27 / -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 4 years ago by samdarkTips20 comments – viewed 91,809 times – ( +66 / -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 2 years ago by Rajith RTips20 comments – viewed 34,036 times – ( +11 / -8 ) – 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 3 years ago by Fran├žois GannazHow-tos19 comments – viewed 188,563 times – ( +104 ) – 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.

Understanding Virtual Attributes and get/set methods

Created 4 years ago by Steve FriedlTutorials19 comments – viewed 110,079 times – ( +77 / -1 ) – 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:

How to upload image(photo), and path entry in database with update functionality

Created 2 years ago by kiran sharmaTips18 comments – viewed 120,989 times – ( +37 / -3 ) – version 1.1
I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

Working with CGridView in Admin Panel

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