Wiki

Sorted by viewsX
Displaying 411-420 of 786 result(s).

Force a User to Change Their Password (ChangePasswordFilter)

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

Logout CSRF Protection

Created 6 years ago by Rodrigo CoelhoTutorials1 comment – viewed 19,391 times – ( +10 / -1 ) – version 1.1
CSRF is the acronymn for Cross-site request forgery. It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

How to implement form events

Created 3 years ago by Antonio RamirezHow-tos4 comments – viewed 19,250 times – ( +6 / -1 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

Twitter Bootstrap style Breadcrumbs

Created 4 years ago by junaidatariHow-tos0 comments – viewed 19,185 times – ( +5 / -2 ) – version 1.1
1: Create breadcrumb in your view file.

Remove Byte Order Mark (BOM) from files recursively

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 18,954 times – ( +5 / -2 ) – version all
Ok, this wiki is not only for yii projects.

How to implement an event and attach it in a behavior

Created 4 years ago by seb7How-tos0 comments – viewed 18,947 times – ( +6 / -1 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 3 years ago by Kartik VHow-tos0 comments – viewed 18,932 times – ( +37 / -1 ) – version 2.0
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created 4 years ago by Ankit ModiTips0 comments – viewed 18,899 times – ( +3 / -1 ) – version 1.1
Hi Friends,

Create Form With DynamicModel

Created 3 years ago by Misbahul D MunirTips4 comments – viewed 18,861 times – ( +2 / -1 ) – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model