Wiki

Displaying 101-110 of 782 result(s).

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created 2 years ago by ruderbytesHow-tos2 comments – viewed 25,031 times – version 1.1
Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 10,020 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 2 years ago by Rohit SutharHow-tos2 comments – viewed 11,331 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 2 years ago by darkheirHow-tos0 comments – viewed 7,522 times – ( +2 ) – version 1.1
Enhance security of cookie-based login

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

Created 2 years ago by Ankit ModiTutorials4 comments – viewed 28,336 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 2 years ago by Rohit SutharTutorials3 comments – viewed 8,809 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 2 years ago by le_topTips0 comments – viewed 7,627 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 2 years ago by le_topTips1 comment – viewed 5,132 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 2 years ago by Ankit ModiTutorials2 comments – viewed 6,912 times – ( -4 ) – version all
Hi Friends,

How to show a Captcha in CForm?

Created 2 years ago by Rohit SutharHow-tos0 comments – viewed 7,061 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