Articles in category "tutorials", sorted by date (updated)X
Displaying 21-30 of 243 result(s).

Creating a dependent dropdown

Updated 12 months ago by Paul_KishTutorials53 comments – viewed 291,959 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 12 months ago by CálcioTutorials0 comments – viewed 7,011 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 24,725 times – ( +20 ) – version all
This tutorial presents a way of separating JS code from views and passing to it values from PHP.

By Example: CHtml

Updated about a year ago by Rohit SutharTutorials15 comments – viewed 701,018 times – ( +116 / -1 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

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 53,423 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 78,286 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 3,281 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 10,376 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 10,671 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

How to use imagine ( crop, thumb, effects for images ) on Yii2

Updated about a year ago by Anas AbuDayahTutorials0 comments – viewed 15,737 times – ( +6 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.