Wiki

Displaying 1-10 of 688 result(s).

Translation from .txt file

Created a day ago by Yatin MistryTutorials4 comments – viewed 471 times – ( +1 / -1 ) – version 1.1
1. First Create file in path-to-app/protected/messages/langfoldername/lang.txt e.g. for spanish language you have to create file like
tags: translation

Google style sign out of all other sessions

Created 6 days ago by Rohit SutharHow-tos0 comments – viewed 945 times – ( +2 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

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

Created 6 days ago by ruderbytesHow-tos2 comments – viewed 893 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 8 days ago by Dency G BHow-tos0 comments – viewed 1,140 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 13 days ago by Rohit SutharHow-tos0 comments – viewed 1,523 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 23 days ago by darkheirHow-tos0 comments – viewed 2,118 times – ( +1 ) – version 1.1
Enhance security of cookie-based login

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

Created about a month ago by Ankit ModiTutorials0 comments – viewed 2,730 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 about a month ago by Rohit SutharTutorials3 comments – viewed 3,142 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,131 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,300 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.