Wiki

Displaying 91-100 of 772 result(s).

Role Management

Created about a year ago by Dency G BHow-tos0 comments – viewed 8,880 times – ( +3 ) – 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 about a year ago by Rohit SutharHow-tos2 comments – viewed 9,472 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).

Enhance security of cookie-based login

Created about a year ago by darkheirHow-tos0 comments – viewed 6,702 times – ( +2 ) – version 1.1
Enhance security of cookie-based login

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

Created about a year ago by Ankit ModiTutorials4 comments – viewed 25,309 times – ( +3 / -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 about a year ago by Rohit SutharTutorials3 comments – viewed 8,019 times – ( +5 / -6 ) – 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 year ago by le_topTips0 comments – viewed 6,950 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 year ago by le_topTips1 comment – viewed 4,537 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 year ago by Ankit ModiTutorials2 comments – viewed 6,108 times – ( -4 ) – version all
Hi Friends,

How to show a Captcha in CForm?

Created about a year ago by Rohit SutharHow-tos0 comments – viewed 5,807 times – ( +5 / -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 year ago by Ankit ModiHow-tos0 comments – viewed 8,988 times – ( -1 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,