Wiki

Sorted by date (updated)X
Displaying 81-90 of 731 result(s).

How-To: Create a REST API

Updated 5 months ago by Rohit SutharHow-tos55 comments – viewed 245,847 times – ( +110 / -1 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.

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

Updated 5 months ago by SmitheshHow-tos0 comments – viewed 3,411 times – ( +2 ) – 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.

How to use GridView with AJAX

Updated 5 months ago by YiiJekaHow-tos2 comments – viewed 12,848 times – ( +11 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Updated 5 months ago by Kartik VTips5 comments – viewed 12,984 times – ( +32 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

embedded javascript block in your view with IDE checking or intellisense

Updated 5 months ago by yiqing95Tips0 comments – viewed 2,295 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

Updated 5 months ago by frazelliHow-tos5 comments – viewed 3,770 times – ( +2 ) – version 1.1
DbHttpSession

A simple way to get Yii client-side form validation run when submitting by ajax

Updated 5 months ago by nlacTutorials5 comments – viewed 32,742 times – ( +6 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Add Beautiful Radio/Checkbox Buttons To Grid

Updated 5 months ago by Rohit SutharHow-tos1 comment – viewed 16,741 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

How to get & store Last Login DateTime in database?

Updated 5 months ago by Rohit SutharHow-tos2 comments – viewed 3,969 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

Translation from .txt file

Updated 5 months ago by Yatin MistryTutorials6 comments – viewed 2,359 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation