Wiki

Sorted by commentsX
Displaying 491-500 of 786 result(s).

Using Google Maps in Yii Applications via Jquery

Created 4 years ago by bluyellHow-tos2 comments – viewed 16,454 times – ( +3 / -2 ) – version 1.1

Manage Email Template content from database

Created 3 years ago by Ankit ModiTutorials2 comments – viewed 8,790 times – ( -5 ) – version all
Hi Friends,

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 6 years ago by Revelis Luc BonninHow-tos2 comments – viewed 28,896 times – ( +9 / -2 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be

How to get & store Last Login DateTime in database?

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 15,269 times – ( +7 / -1 ) – 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).

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 6 years ago by Antonio RamirezTutorials2 comments – viewed 20,860 times – ( +12 / -2 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

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

Created 3 years ago by ruderbytesHow-tos2 comments – viewed 33,401 times – ( +1 / -1 ) – 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

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 9,761 times – ( +4 / -1 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

Force a User to Change Their Password (ChangePasswordFilter)

Created 6 years ago by waterloomattTutorials2 comments – viewed 19,849 times – ( +16 / -3 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

Yii registry, how to use it, does it exist at all?

Created 6 years ago by dckurushinHow-tos2 comments – viewed 26,020 times – ( +7 / -2 ) – version 1.1
From time to time people ask about registry...

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Created 4 years ago by Maug LeeHow-tos2 comments – viewed 41,278 times – ( +8 / -1 ) – version 1.1
Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.