Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 21-30 of 336 result(s).

Date Picker by examples

Created about a year ago by InterboyHow-tos6 comments – viewed 58,290 times – ( +10 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

jQuery UI Datepicker

Created 2 years ago by softarkHow-tos11 comments – viewed 58,124 times – ( +13 ) – version 1.1
We all love the convenient gadget, namely jQuery UI Datepicker as an input element for date. Yii supports it as CJuiDatePicker. Let's see how to use it.

How to create front and admin side login form

Created 2 years ago by vibhaJadwaniHow-tos7 comments – viewed 57,198 times – ( +6 ) – version 1.1
In this WIKI you can learn how to create front and admin login form, using database.

How to setup RBAC with a php file

Created 5 years ago by bettorHow-tos17 comments – viewed 56,669 times – ( +26 / -5 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Local time zones and locales

Created 3 years ago by Russell EnglandHow-tos9 comments – viewed 56,027 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

Model password confirmation field.

Created 3 years ago by twisted1919How-tos10 comments – viewed 55,979 times – ( +11 / -1 ) – version 1.1
I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.

AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Created about a year ago by drumaddictHow-tos15 comments – viewed 55,222 times – ( +21 ) – version 1.1
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Using filters with CGridView and CArrayDataProvider

Created 3 years ago by marcovtwoutHow-tos32 comments – viewed 54,024 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Using standard filters in CGridView custom fields

Created 4 years ago by GOshaHow-tos4 comments – viewed 53,926 times – ( +17 ) – version 1.1
In this article I'll try to explain how to use standard quick search fields in CGridView with customized columns.For example: We have a record in a database with field switch having 0 or 1 values. After that we want a user to see on or off instead 1 or 0. So we do the usual thing:

How to log and debug variables using CWebLogRoute

Created 4 years ago by Antonio RamirezHow-tos8 comments – viewed 53,069 times – ( +18 ) – version 1.1
I have seen a couple of articles about how to integrate external libraries to debug our PHP code (i.e. firePHP) but after you read this article you will realize that there is no need for such libraries when using Yii.
tags: Logging