Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 31-40 of 249 result(s).

Drills : Search by a HAS_MANY relation in Yii 1.1

Updated about a year ago by softarkTutorials13 comments – viewed 43,472 times – ( +33 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Creating a dependent dropdown

Updated about a year ago by Paul_KishTutorials53 comments – viewed 312,023 times – ( +111 / -3 ) – version 1.1
Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.

Widget Personalizado

Updated about a year ago by CálcioTutorials0 comments – viewed 7,399 times – ( +6 ) – version 1.1
Here I will explain with the clear way and objective an use the widget with CDataProvider.

Clean JavaScript code in your views

Updated about a year ago by David NewcombTutorials6 comments – viewed 28,302 times – ( +20 ) – version all
This tutorial presents a way of separating JS code from views and passing to it values from PHP.

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Updated about a year ago by codesutraTutorials5 comments – viewed 62,729 times – ( +8 ) – version 1.1
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for PHPExcel library.

Use crypt() for password storage

Updated about a year ago by fsbTutorials16 comments – viewed 86,991 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Gettext and Poedit HOWTO

Updated about a year ago by Maug LeeTutorials0 comments – viewed 4,662 times – version 1.1
Example settings when using Gettext for i18n.

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Updated about a year ago by Rohit SutharTutorials2 comments – viewed 11,312 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

Simple Way to Upload and Save File

Updated about a year ago by Misbahul D MunirTutorials0 comments – viewed 13,951 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

Upload CSV File

Updated about a year ago by bhavesh vaghelaTutorials2 comments – viewed 14,792 times – ( +8 ) – version 1.1
View file