Wiki

Displaying 1-10 of 685 result(s).

Role Management

Created a day ago by Dency G BHow-tos0 comments – viewed 510 times – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

How to get & store Last Login DateTime in database?

Created 6 days ago by Rohit SutharHow-tos0 comments – viewed 1,033 times – ( +4 ) – 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).

Enhance security of cookie-based login

Created 16 days ago by darkheirHow-tos0 comments – viewed 1,792 times – ( +1 ) – version 1.1
Enhance security of cookie-based login

How to display Dependent drop-down value using ajax call with dynamically

Created 28 days ago by Ankit ModiTutorials0 comments – viewed 2,399 times – ( +1 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

Forcing login for all pages using CBehavior

Created 29 days ago by Rohit SutharTutorials3 comments – viewed 2,936 times – ( +3 / -5 ) – version 1.1
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.

Expert's model generation with Gii

Created about a month ago by le_topTips0 comments – viewed 2,021 times – ( +3 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

Search scenario (CGridView, etc.): avoid default values from database as search condition.

Created about a month ago by le_topTips1 comment – viewed 1,224 times – ( +1 ) – version 1.1
Yii has a neat "trick" that will assign default values to new CActiveRecords. When performing a search() though, this is pretty annoying as they automatically apply as filter values.

Manage Email Template content from database

Created about a month ago by Ankit ModiTutorials2 comments – viewed 1,372 times – ( -2 ) – version all
Hi Friends,

How to show a Captcha in CForm?

Created about a month ago by Rohit SutharHow-tos0 comments – viewed 1,372 times – ( +2 / -1 ) – version 1.1
In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.
tags: captcha, CForm, widget

How to show Image view after upload and delete view image using eajaxupload extension

Created about a month ago by Ankit ModiHow-tos0 comments – viewed 1,169 times – ( -1 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,