This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them...
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?
First of all, You must change component config to enable the default Yii CSRF validation.
This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.
In this article you'll learn how to send additional form data when uploading files using XUpload widget
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.
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.
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:
Original source code and idea are from: PHP, PDO & Nested Transactions.
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.
There are two ways to run a cron job:
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.