Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 1-10 of 230 result(s).

By Example: CHtml

Updated 7 days ago by Rohit SutharTutorials15 comments – viewed 522,478 times – ( +105 / -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.

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

Updated 9 days ago by nlacTutorials5 comments – viewed 27,246 times – ( +5 / -2 ) – 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.

Building a REST API in Yii2.0

Updated 10 days ago by sirin kTutorials3 comments – viewed 2,035 times – ( +2 ) – version 2.0
This is a simple wiki which is useful if you are trying to build a REST API in Yii2.0
tags: yii2.0, REST API

Translation from .txt file

Updated 13 days ago by Yatin MistryTutorials6 comments – viewed 1,487 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

[Updated] How to create & call custom global function in whole application?

Updated 14 days ago by Rohit SutharTutorials8 comments – viewed 1,979 times – ( +4 / -2 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Two Login in same form in Yii application , with two tables

Updated about a month ago by Rohit SutharTutorials4 comments – viewed 13,168 times – ( +4 / -7 ) – version 1.1
login links will be

Forcing login for all pages using CBehavior

Updated 2 months ago by Rohit SutharTutorials3 comments – viewed 3,572 times – ( +4 / -6 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

How to display Dependent drop-down value using ajax call with dynamically

Updated 2 months ago by Ankit ModiTutorials2 comments – viewed 4,455 times – ( +1 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

Display Status image on CGridView column

Updated 2 months ago by Ankit ModiTutorials1 comment – viewed 7,319 times – ( +1 / -1 ) – version all
How to display status image on admin gridview.

Manage Email Template content from database

Updated 2 months ago by Ankit ModiTutorials2 comments – viewed 1,718 times – ( -4 ) – version all
Hi Friends,