Wiki

Displaying 1-10 of 688 result(s).

Translation from .txt file

Created 7 days ago by Yatin MistryTutorials6 comments – viewed 899 times – ( +1 / -2 ) – 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 12 days ago by Rohit SutharHow-tos0 comments – viewed 1,337 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 12 days ago by ruderbytesHow-tos2 comments – viewed 1,408 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 14 days ago by Dency G BHow-tos0 comments – viewed 1,497 times – ( +1 ) – 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 19 days ago by Rohit SutharHow-tos0 comments – viewed 1,823 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 29 days ago by darkheirHow-tos0 comments – viewed 2,225 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 ModiTutorials2 comments – viewed 3,007 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,244 times – ( +3 / -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 month ago by le_topTips0 comments – viewed 2,233 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,369 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.