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 3 years ago by codesutraTutorials5 comments – viewed 73,524 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 3 years ago by fsbTutorials16 comments – viewed 99,892 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 3 years ago by Maug LeeTutorials0 comments – viewed 7,177 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 3 years ago by Rohit SutharTutorials2 comments – viewed 12,863 times – ( +2 / -1 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

Simple Way to Upload and Save File

Updated 3 years ago by Misbahul D MunirTutorials0 comments – viewed 21,341 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 18,562 times – ( +8 / -1 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated 3 years ago by rAWTAZTutorials15 comments – viewed 102,193 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 6,022 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 50,231 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,367 times – ( +1 / -5 ) – version 1.1
Translation from .txt file Note:
tags: translation