Wiki

Sorted by ratingX
Displaying 271-280 of 786 result(s).

Implementing a Flat User Access System

Created 4 years ago by TrejderHow-tos1 comment – viewed 11,936 times – ( +9 / -1 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Building a REST API in Yii2.0

Created 3 years ago by sirin kTutorials6 comments – viewed 110,695 times – ( +9 / -1 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

Local time zones and locales

Created 6 years ago by Russell EnglandHow-tos9 comments – viewed 73,883 times – ( +14 / -3 ) – 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.

How to use Multiple instances of the same model in the same form

Created 5 years ago by kiran sharmaHow-tos21 comments – viewed 63,739 times – ( +22 / -7 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 2 years ago by robregonmHow-tos2 comments – viewed 15,700 times – ( +11 / -2 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

Model password confirmation field.

Created 6 years ago by twisted1919How-tos10 comments – viewed 74,355 times – ( +11 / -2 ) – 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.

Activate captcha after unsuccessful login attempts

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 24,593 times – ( +13 / -3 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

Installation guide: Yii-2 advanced template with RBAC system

Created about a year ago by Sherin JoseTutorials3 comments – viewed 47,465 times – ( +13 / -3 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

How to filter CGridView with From Date and To Date datepicker

Created 5 years ago by kiran sharmaTips16 comments – viewed 51,722 times – ( +17 / -5 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Yii2 RESTful API with OAuth 2.0

Created 3 months ago by sirin kTutorials0 comments – viewed 7,523 times – ( +5 ) – version 2.0
tags: yii2, REST, oauth 2.0