Redirect to different landing page after successful login on wordpress admin panel, if user not a super admin. In your theme’s functions.php: function your_login_redirect() {…
1 CommentMonth: November 2015
On successful login the user information will be stored in Yii::$app->user->identity variable. The authenticated user identity information can be retrieved via Yii::$app->user->identity //To get whole…
3 CommentsThis tutorial will show you how to set 100% full height div with CSS with simple lines. The percentage (%) is a relative unit so…
Leave a CommentIn this tutorial, You will learn how to set a specific default sort column for your GridView. With the following code, you can set the…
Leave a CommentHi there, This tutorial will show you how to send emails from the yii2 application. Sending emails from the yii2 application is not a tedious…
3 CommentsHello there, Today I would like to show you how to integrate the mPDF library with Yii framework 2. First, let me give you some…
4 CommentsIn this tutorial, you will learn how to create a custom Component in Yii2 and I will show you how to use created a component…
Leave a CommentIn this tutorial, I would like to show you how we can use transactions in YII2. A transaction is used to run a group of…
1 CommentIn this tutorial, I would like to show you making the dropdown list in yii2 using different data sources like static array data and database…
3 Comments