Wiki

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

CGridView: Update/create records in a CJuiDialog

Created 4 years ago by JobloTips12 comments – viewed 45,393 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 28,877 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 31,850 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 46,665 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 5 years ago by suriyansureshTutorials6 comments – viewed 54,542 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 3 years ago by Antonio RamirezOthers5 comments – viewed 21,844 times – ( +14 ) – version 1.1
YiiBackboneBoilerplate
tags: directory, config

Real Time Logging

Created 5 years ago by lucifuriousTips3 comments – viewed 23,679 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 36,759 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

Using Bootstrap with LESS

Created 3 years ago by Chris83How-tos1 comment – viewed 41,852 times – ( +14 ) – version 1.1
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.

Integrating HybridAuth directly into Yii without an extension

Created 3 years ago by biz devHow-tos8 comments – viewed 35,204 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.