Wiki

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

How to get & store Last Login DateTime in database?

Created 2 years ago by Rohit SutharHow-tos2 comments – viewed 11,870 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 21,260 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 68,949 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 51,784 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.

Installation guide: Yii-2 advanced template with RBAC system

Created 5 months ago by Sherin JoseTutorials0 comments – viewed 14,753 times – ( +10 / -1 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

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

Created 4 years ago by bluezedTutorials5 comments – viewed 30,931 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 29,554 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 52,241 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 22,315 times – ( +13 / -2 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

Yii Rights Management Tips

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