Wiki

Sorted by ratingX
Displaying 251-260 of 732 result(s).

Events explained

Created 2 years ago by pligorTutorials9 comments – viewed 27,036 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Database driven Cmenu

Created 3 years ago by twisted1919How-tos0 comments – viewed 22,218 times – ( +13 / -1 ) – version 1.1
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 49,210 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

An Easy Solution for Dependent dropDownList Using AJAX

Created 2 years ago by mrsTips10 comments – viewed 57,212 times – ( +13 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Custom Autocomplete Display and Value Submission

Created 3 years ago by Antonio RamirezHow-tos5 comments – viewed 35,706 times – ( +13 / -1 ) – version 1.1
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?

Avoiding duplicate script download when using Ajax calls to render different Views

Created 3 years ago by Antonio RamirezTips6 comments – viewed 19,303 times – ( +13 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

Log Activity in DataBase

Created about a year ago by mahdi1986Tutorials6 comments – viewed 11,661 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 2 months ago by softarkTutorials1 comment – viewed 4,057 times – ( +8 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

Application-driven database with CDbMigration and an extended CActiveRecord

Created 3 years ago by Tudor IlisoiOthers0 comments – viewed 8,942 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Cgridview counter column

Created about a year ago by Nisanth thulasiTips4 comments – viewed 3,819 times – ( +8 )
some times we want to show the serialNo on cgridview .