Articles in category "tutorials", sorted by commentsX
Displaying 101-110 of 251 result(s).

Create Yii Project In Cloud9

Created 4 years ago by BenTutorials5 comments – viewed 24,908 times – ( +3 ) – version 1.1
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

shortcut/usefull access roles methods RBAC

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials5 comments – viewed 5,360 times – ( +1 ) – version 1.1
These are functions that I used very often, may helps you!

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

Created 3 years ago by nlacTutorials5 comments – viewed 45,646 times – ( +8 / -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.

YII SaaS Multi Tenant application with single database

Created 3 years ago by Rajith RTutorials5 comments – viewed 15,064 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

How to customize the error message of a validation rule

Created 7 years ago by qiangTutorials4 comments – viewed 92,326 times – ( +18 / -1 ) – version 1.1
Validators extending from CValidator all have a property named message. You can set this property in the corresponding validation rule to customize the error message. For example, the following validation rule uses an error message that is different from the default one:

Drills : Search by a HAS_MANY relation in Yii 2.0

Created about a year ago by softarkTutorials4 comments – viewed 37,037 times – ( +19 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

How to create a breadcrumb widget

Created 7 years ago by knutTutorials4 comments – viewed 68,582 times – ( +13 ) – version 1.1
Here's a simple way to create a breadcrumb widget to be used in your templates. The idea is just to isolate how the breadcrumb is generated based on an array of crumbs.

Integrating with other frameworks

Created 7 years ago by KJediTutorials4 comments – viewed 20,548 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Ajax Login form with validation errors inside jQuery modal dialog

Created 3 years ago by praviTutorials4 comments – viewed 34,434 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Created 23 days ago by emraldTutorials4 comments – viewed 1,897 times – version 2.0
Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.