Expand the menu
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for devel...
Stores session data in database and transfer data when session is destroy. Uses for check users online, user's last activity and last ip.
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
The only differences in Yii 2 is that its much simpler due to available functions in the Model class for loading and validating models.
Alternatively, inline assets (JS/CSS) can be registered at runtime from within the
Step 1: Initialize the Bootstrap Tooltip & Popover plugins in your view layout file
@web\views\layouts\main.php. Add this to somewhere in the beginning head section (after you have loaded the Jquery using your AppAsset or something similar).
composer updatedoes not fetch any new packages (even though the source is updated)
composer updateearlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
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.
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work
Assuming that you have already install the wampserver on your windows.
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.
Yiinitializr\Helpers\Initializer::create('./../', 'frontend', array(
// will override frontend configuration file __DIR__ .'/../../common/config/main.php', // merged with __DIR__ .'/../../common/config/env.php', // merged with __DIR__ .'/../../common/config/local.php' // merged with
This namespace brings utilities to interact with...
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.