Wiki

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

Configuring controller access rules to default-deny

Created 5 years ago by Steve FriedlHow-tos3 comments – viewed 77,605 times – ( +12 ) – version 1.1
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.

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

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

Save and Display Date/Time Fields in different formats in Yii2

Created 2 years ago by Kartik VHow-tos12 comments – viewed 73,689 times – ( +39 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

Implementing cron jobs with Yii

Created 5 years ago by samdarkHow-tos6 comments – viewed 73,473 times – ( +32 / -2 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

How to create front and admin side login form

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

jQuery UI Datepicker

Created 3 years ago by softarkHow-tos11 comments – viewed 71,399 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.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 2 years ago by ThePr0f3550rHow-tos8 comments – viewed 68,825 times – ( +16 / -1 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

Model password confirmation field.

Created 4 years ago by twisted1919How-tos10 comments – viewed 67,029 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.

Using filters with CGridView and CArrayDataProvider

Created 4 years ago by marcovtwoutHow-tos33 comments – viewed 66,692 times – ( +22 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Local time zones and locales

Created 5 years ago by Russell EnglandHow-tos9 comments – viewed 65,882 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.