Wiki

Displaying 81-90 of 771 result(s).

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Created about a year ago by SmitheshHow-tos1 comment – viewed 6,912 times – ( +3 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

embedded javascript block in your view with IDE checking or intellisense

Created about a year ago by yiqing95Tips0 comments – viewed 3,966 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file:

Check users online, user last activity, user last ip

Created about a year ago by frazelliHow-tos5 comments – viewed 8,269 times – ( +5 ) – version 1.1
DbHttpSession

How to implement form events

Created about a year ago by Antonio RamirezHow-tos4 comments – viewed 11,530 times – ( +6 ) – 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

Building a REST API in Yii2.0

Created about a year ago by sirin kTutorials6 comments – viewed 76,259 times – ( +9 ) – 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

Write & use a custom Component in Yii2.0

Created about a year ago by sirin kHow-tos4 comments – viewed 40,954 times – ( +16 ) – 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)

Translation from .txt file

Created about a year ago by Yii3Tutorials6 comments – viewed 3,844 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

Google style sign out of all other sessions

Created about a year ago by Rohit SutharHow-tos2 comments – viewed 6,321 times – ( +4 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created about a year ago by ruderbytesHow-tos2 comments – viewed 21,281 times – version 1.1
Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin

Role Management

Created about a year ago by Dency G BHow-tos0 comments – viewed 8,825 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2