Wiki

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

How to translate and do the translations the easy way

Created 4 years ago by Roman SolomatinHow-tos3 comments – viewed 61,737 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 4 years ago by JobloTips12 comments – viewed 45,865 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,131 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 32,509 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 47,418 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,993 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 22,161 times – ( +14 ) – version 1.1
YiiBackboneBoilerplate
tags: directory, config

Real Time Logging

Created 5 years ago by lucifuriousTips3 comments – viewed 24,055 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 39,456 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 42,341 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.