1) include the fancybox extesion otherwise fancybox js
1) include the fancybox extesion otherwise fancybox js
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install.
After installation done, create controller
and action
View file
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.
Translation from .txt file Note:
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.
login links will be
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.
Hi Friends,
Assuming that you have already install the wampserver on your windows.
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
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.
In this wiki I will show how to copy a schema from a database to another one
In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.
Let's take the example of the above article to display an email button next to a delete button:
I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.