Wiki

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

Send mail using YiiMail extension

Created 4 years ago by RKATutorials10 comments – viewed 72,820 times – ( +9 / -1 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

Implementing a Flat User Access System

Created 4 years ago by TrejderHow-tos1 comment – viewed 11,400 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 2 years ago by sirin kTutorials6 comments – viewed 104,946 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 72,050 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 60,752 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.

Model password confirmation field.

Created 5 years ago by twisted1919How-tos10 comments – viewed 72,682 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 23,652 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 36,221 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 50,079 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.

Log Activity in DataBase

Created 4 years ago by mahdi1986Tutorials7 comments – viewed 19,453 times – ( +8 / -1 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message