Sorted by ratingX
Displaying 161-170 of 779 result(s).

Filter & Sort by Summary Data in GridView Yii 2.0

Created 2 years ago by Kartik VTutorials7 comments – viewed 35,732 times – ( +40 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

How to translate and do the translations the easy way

Created 5 years ago by Roman SolomatinHow-tos3 comments – viewed 64,264 times – ( +28 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

CGridView: Update/create records in a CJuiDialog

Created 5 years ago by JobloTips12 comments – viewed 46,763 times – ( +14 ) – version 1.1
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

Eclipse PDT - code-hints, references and other goodies

Created 7 years ago by mindehTutorials2 comments – viewed 29,555 times – ( +14 ) – version 1.1
Since PHP is dynamically typed language, the way IDE may help you is limited.
tags: IDE

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 4 years ago by c@cbaHow-tos3 comments – viewed 33,804 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

How to use ldap in UserIdentity for authentication

Created 6 years ago by BeerSercTutorials15 comments – viewed 48,851 times – ( +14 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

Module based login

Created 6 years ago by suriyansureshTutorials6 comments – viewed 55,872 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 4 years ago by Antonio RamirezOthers5 comments – viewed 22,781 times – ( +14 ) – version 1.1
tags: directory, config

Real Time Logging

Created 5 years ago by lucifuriousTips3 comments – viewed 24,795 times – ( +14 ) – version 1.1
I've seen a lot of people asking about the logging facilities in Yii and thought I'd share a nice little class I wrote that provides near real-time logging.

How to use GridView with AJAX

Created 2 years ago by Antonio RamirezHow-tos6 comments – viewed 45,155 times – ( +14 ) – 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