Wiki

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

Creating a dependent dropdown

Updated about a year ago by Paul_KishTutorials53 comments – viewed 305,737 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,274 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 27,659 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 59,755 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 84,440 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,223 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,990 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 12,847 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,186 times – ( +7 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated about a year ago by rAWTAZTutorials15 comments – viewed 90,844 times – ( +62 ) – version 1.1
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.