Articles in category "how-tos", sorted by date (updated)X
Displaying 1-10 of 306 result(s).

Enhance security of cookie-based login

Updated about 11 hours ago by darkheirHow-tos0 comments – viewed 2,228 times – ( +1 ) – version 1.1
Enhance security of cookie-based login

multiple CActiveDataProviders in one CGridView

Updated about 19 hours ago by NashiHow-tos6 comments – viewed 10,466 times – ( +7 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Multiple Database Connection : Select database based on login user id, Dynamic

Updated 5 days ago by parthshahHow-tos3 comments – viewed 12,328 times – ( +9 / -6 ) – version 1.1
create a class file under protected\components named RActiveRecord.php

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

Updated 12 days ago by ruderbytesHow-tos2 comments – viewed 1,415 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

Google style sign out of all other sessions

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

Role Management

Updated 14 days ago by Dency G BHow-tos0 comments – viewed 1,503 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?

Updated 19 days ago by Rohit SutharHow-tos0 comments – viewed 1,826 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).

Using updateAll and deleteAll with scopes

Updated 21 days ago by le_topHow-tos4 comments – viewed 1,635 times – ( +5 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Updated about a month ago by tophHow-tos2 comments – viewed 9,980 times – ( -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

How to sum (Update) of all input button price value using jquery

Updated about a month ago by Ankit ModiHow-tos0 comments – viewed 1,306 times – ( +1 ) – version all
Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others.