Sorted by ratingX
Displaying 471-480 of 779 result(s).

How to create/update a model with its related items using Listbox or CheckboxList

Created 9 months ago by softarkTutorials1 comment – viewed 8,462 times – ( +3 ) – version 2.0
Assume we have many categories and many posts.

A Single Page with a List and a Detail

Created 3 months ago by softarkHow-tos1 comment – viewed 5,366 times – ( +3 ) – version 2.0
The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.
tags: gridview, detail, ajax

Adding Bash Command Completion for Yii Commands

Created 4 years ago by Dustin OpreaHow-tos0 comments – viewed 9,115 times – ( +3 ) – version 1.1
This article discusses the installation/configuration of the YiiBash project (

How to setup CKeditor

Created 4 years ago by Dark-SunTutorials4 comments – viewed 23,574 times – ( +3 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Alternative wildcard characters CDbCriteria

Created 4 years ago by maigretHow-tos0 comments – viewed 7,343 times – ( +3 ) – version 1.1
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

Yii and XAMPP server on Windows

Created 5 years ago by TrejderTutorials0 comments – viewed 58,158 times – ( +3 ) – version 1.1
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.
tags: windows, xampp, server

How to create Module based Login

Created 2 years ago by Ibrar TuriHow-tos1 comment – viewed 12,566 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Create image thumbnails with php_img_preview

Created 4 years ago by Anas AbuDayahTutorials6 comments – viewed 13,986 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

Upload image and content using AJAX and Store it in different table

Created 2 years ago by SelvakumarHow-tos1 comment – viewed 47,503 times – ( +3 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables