Wiki

Sorted by ratingX
Displaying 321-330 of 784 result(s).

How to get & store Last Login DateTime in database?

Created 2 years ago by Rohit SutharHow-tos2 comments – viewed 12,779 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created 2 years ago by hrnairHow-tos2 comments – viewed 22,805 times – ( +7 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

Local time zones and locales

Created 5 years ago by Russell EnglandHow-tos9 comments – viewed 70,273 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

RBAC Super Simple with Admin and User

Created 2 years ago by evercodeTutorials10 comments – viewed 55,196 times – ( +16 / -3 ) – version 2.0
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 developing your own features or move on to Yii 2's RBAC.

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 4 years ago by bluezedTutorials5 comments – viewed 31,736 times – ( +10 / -1 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Ember.js with Yii REST backend,demo application

Created 4 years ago by drumaddictOthers4 comments – viewed 30,074 times – ( +10 / -1 ) – version 1.1
Ember with Yii REST backend,demo application.

Integrating Yii with Wordpress

Created 5 years ago by isekreamTips5 comments – viewed 53,817 times – ( +10 / -1 ) – version 1.1
Well I finally had some time and tinkered a bit with the notion of integrating wordpress and Yii. Now for me I wanted to use Yii as a framework to develop wordpress plugins. Using some tips from imasia Article I was able to do a simple integration of yii as a wordpress plugin. The integration was very basic and i just used yii with its default installation site. I don;t know how it will really react with CRUD application as yet but it was fairly easy to integrate after reading the article...

Activate captcha after unsuccessful login attempts

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 23,059 times – ( +13 / -2 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

Installation guide: Yii-2 advanced template with RBAC system

Created 8 months ago by Sherin JoseTutorials1 comment – viewed 25,228 times – ( +13 / -2 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

Yii Rights Management Tips

Created 2 years ago by Rajith RTips0 comments – viewed 6,046 times – ( +6 ) – version 1.1
yii rights some tips..