Scenarios validation is the one of the useful future in yii framwork and seperating the validation on any class derived from CModel. For example user registeration and updation will have different validation
MyActiveDataProvider concept with extends of CActiveDataProvider will be used to execute the custom query result and to display that result in CGridView
Yii 2.0 having the url manager to handle and create urls in different way. The URL manager is a built-in application component named urlManager.We can use use yii\helpers\Url; namespace.
Yii 1.0 Framwork MetaTag Script like keywords, description, robots etc. Registers a meta tag that will be inserted in the head section of the display page.
High performance is always a primary goal of Yii 1.x and Yii2.0. Yii 2 inherits the main spirit behind Yii for being a simple, fast and highly extensible PHP framework.
We can install Yii in two ways, using Composer or downloading an archive file. The former is the preferred way as it allows you to install new extensions or update Yii by running a single command.
This tutorial will help to create a pretty customized URL for wordpress post. 'generate_rewrite_rules' action is used to create a new URL format and 'WP_Rewrite' is WordPress class for managing the rewrite rules that allow you to use Pretty Permalinks feature.
Yii have the multiple database connection by default. Yii components is used to make the relation between our models and database. To use the multiple database we have to configure the main.php file
YouTube embedding video was working fine without any problem. But now i got full screen button issue. When i click on full screen button on you tube video player, it is not showing full screen. Because the player missing the full screen button actions.
This tutorial will help you to display the image in CDetailview widget of yii framework 1.0. We added a different funcitons in model.php to display the image with different methods like only image, image […]