Wiki

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

Write & use a custom Component in Yii2.0

Created 3 months ago by sirin kHow-tos1 comment – viewed 4,789 times – ( +8 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Force a User to Change Their Password (ChangePasswordFilter)

Created 3 years ago by waterloomattTutorials2 comments – viewed 14,812 times – ( +16 / -2 ) – 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.

Setting application parameters dynamically in the back-end

Created 2 years ago by PablovpTutorials6 comments – viewed 30,087 times – ( +12 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Updating fields on a form with Ajax and Json

Created 3 years ago by Russell EnglandHow-tos4 comments – viewed 46,935 times – ( +12 / -1 ) – version 1.1
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

Custom Autocomplete Display and Value Submission

Created 3 years ago by Antonio RamirezHow-tos5 comments – viewed 34,554 times – ( +12 / -1 ) – version 1.1
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 3 years ago by Antonio RamirezTutorials2 comments – viewed 16,089 times – ( +12 / -1 ) – 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.

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 31,611 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Activate captcha after unsuccessful login attempts

Created about a year ago by KonApazHow-tos21 comments – viewed 13,635 times – ( +11 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

Model password confirmation field.

Created 3 years ago by twisted1919How-tos10 comments – viewed 52,080 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.

An Easy Solution for Dependent dropDownList Using AJAX

Created 2 years ago by mrsTips10 comments – viewed 53,956 times – ( +11 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.