Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.
The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.
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 ).
This solution requires Yii 1.1.9 or above
From: http://lacot.org/ and me.
Ok, it is a little bit difficult to full understanding the unsafe validator.
If you coming to Yii with experience with Zend Framework for example, most likely you get used to
Zend_Registry::get('paramName');
Zend_Registry::set('paramName');
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
Suppose you want to refresh a form or any content when a single row of CGridView is selected
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).
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've gotten Yii running cron jobs, and wanted to explain briefly how I did it.
First things first,follow the instructions in fr0d0z's article to set up WordPress.Regarding the WpController,I did not use an index view.So the code for WpController is
class WpController extends Controller
{
public function init()
{
// note that we disable the layout
$this->layout = false;
parent::init();
}