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

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

Created 4 years ago by kiran sharmaTips22 comments – viewed 157,072 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)

CGridView, CListView and CActiveDataProvider

Created 4 years ago by softarkTutorials22 comments – viewed 114,032 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.

Using CJuiDatePicker for CGridView filter

Created 4 years ago by softarkHow-tos21 comments – viewed 48,947 times – ( +27 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

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

Created 4 years ago by kiran sharmaHow-tos21 comments – viewed 53,340 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.

Adding search to Yii blog example (using Zend Lucene)

Created 5 years ago by dckurushinTutorials21 comments – viewed 72,291 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.

How to write secure Yii applications

Created 4 years ago by Fran├žois GannazHow-tos20 comments – viewed 224,019 times – ( +107 ) – 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.

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

Created 4 years ago by Gerhard LiebenbergTutorials20 comments – viewed 87,511 times – ( +28 / -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 5 years ago by samdarkTips20 comments – viewed 111,422 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

Understanding Virtual Attributes and get/set methods

Created 5 years ago by Steve FriedlTutorials20 comments – viewed 136,164 times – ( +80 / -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:

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 3 years ago by Rajith RTips20 comments – viewed 41,084 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 .