Like gmail, if you have tree or more unsuccessful login attemps a captcha appears
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears
This wiki has been replaced by Use crypt() for password storage.
Create a folder where to place an Yii app under wordpress folder (mine is "yii')
Adding HTTP compression to your application could never have been easier!
When you're filling up a form of a CActiveRecord (using CActiveForm for example), usually you'll construct your code so that in case of validation error you'll get back the form with the error displayed back to you, typically when CActiveForm.errorSummary() is used. This is how its done by Gii.
You usually take a model instance passed into your view to provide data to a CGridView in this way:
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.
$P$
.I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.
I (www.jamesbarnsley.com) found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to...
在经过畅K网的实战后,总结一下在Yii的项目中会经常用到的组件和一些基本的使用方法,分享给大家,同时也给自己留个备忘录,下面我以代码加图片说明.
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?
This tutorial presents a way of separating JS code from views and passing to it values from PHP.
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted
This wiki is a work in progress.
Clone the git repo - git clone git://github.com/drumaddict/ember-yii.git
- or download it
To install,follow these steps.
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use...
>One-page Web Application built with AngularJS,TypeScript,and Yii framework.
This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.