Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 41-50 of 255 result(s).

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

Updated 2 years ago by codesutraTutorials5 comments – viewed 71,989 times – ( +8 / -1 ) – 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 2 years ago by fsbTutorials16 comments – viewed 97,842 times – ( +24 / -1 ) – 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 2 years ago by Maug LeeTutorials0 comments – viewed 6,765 times – ( -1 ) – version 1.1
Example settings when using Gettext for i18n.

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

Updated 2 years ago by Rohit SutharTutorials2 comments – viewed 12,548 times – ( +2 / -1 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

Simple Way to Upload and Save File

Updated 2 years ago by Misbahul D MunirTutorials0 comments – viewed 19,842 times – ( -3 ) – 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 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 17,937 times – ( +8 / -1 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated 3 years ago by rAWTAZTutorials15 comments – viewed 100,994 times – ( +63 / -1 ) – 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.

How to display images in CJuiAutoComplete without extenstions

Updated 3 years ago by AsmaaTutorials0 comments – viewed 5,722 times – ( -1 ) – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

A simple way to get Yii client-side form validation run when submitting by ajax

Updated 3 years ago by nlacTutorials5 comments – viewed 49,364 times – ( +8 / -3 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Translation from .txt file

Updated 3 years ago by Yii3Tutorials6 comments – viewed 5,078 times – ( +1 / -5 ) – version 1.1
Translation from .txt file Note:
tags: translation