It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted
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.
This tutorial presents a way of separating JS code from views and passing to it values from PHP.
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 need extension mdmsoft/yii2-upload-file. Follow the intruction to install.
After installation done, create controller
and action
Adding HTTP compression to your application could never have been easier!
This wiki has been replaced by Use crypt() for password storage.
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.
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
Web feed is a data format used for providing users with frequently updated content. In this article, we describe how to use Zend_Feed, an excellent component from Zend Framework to generate Web feed for an Yii application. This article can also serve as a general guide...
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.
Below I have created an Html helper with methods to help me locate directories of my assets dynamically. Such assets may include CSS, JavaScript and images.
During development, it's often very handy to have SQL logging and profiling.
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features
This tutorial shows you how to safely remove records between relationships.
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)
require_once($yii); Yii::createWebApplication($config)->run();