hello guys now i am going to show you how to Reuse File Upload Code across multiple projects.
hello guys now i am going to show you how to Reuse File Upload Code across multiple projects.
Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that
CGridview displays existent rows of the table (using DataProvider)
首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,
There are several ways to speedup slow unit tests which interact with database:
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales
There are cases that you want to make an ajax request to another server and get the results.
This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)
According to below wiki we could migrate database schema to another database
Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:
will generate twitter bootstrap styled breadcrumb code:
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/
CSRF é o acrônimo para Cross-site request forgery.
CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.
change your index.php
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article [Redefine PHP class methods or class](http://stackoverflow.com/questions/137006/ph...
Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.