Wiki

Sorted by viewsX
Displaying 451-460 of 784 result(s).

How to handle decimal separators (e.g comma instead of dot) for l18n

Created 5 years ago by jpabloHow-tos2 comments – viewed 15,749 times – ( +2 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

A simple action for XUpload extension

Created 6 years ago by tydeas_drTips1 comment – viewed 15,702 times – ( +3 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

How to re enable logging during unit testing

Created 5 years ago by AsgarothHow-tos3 comments – viewed 15,696 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Install specific Yii2 vendor extension & dependency without updating other packages.

Created 2 years ago by Kartik VTips0 comments – viewed 15,560 times – ( +40 / -6 ) – version 2.0
The tips here are for advanced usages of composer and its assumed you have read about using composer and have a knowledge of your vendor packages to be updated. Let's consider, you want to update only one specific yii2 vendor library, without updating all the other extension packages?

How to create the custom Drop-down using CHtml::dropDownList

Created 2 years ago by Ankit ModiHow-tos1 comment – viewed 15,557 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

Login Form With email or Whatever

Created 3 years ago by nabil abdoualiHow-tos1 comment – viewed 15,538 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Yii2 and Pdf files with Mpdf

Created 2 years ago by CTalaHow-tos2 comments – viewed 15,531 times – ( +7 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

New Relic Error Alert with Yii

Created 3 years ago by simon604Tips2 comments – viewed 15,456 times – ( +6 ) – version 1.1
Introduction

How to make customizable Db Table prefixes using ActiveRecord

Created 7 years ago by killermonkTutorials0 comments – viewed 15,401 times – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

How to log context information to logger (session id, user, ...)

Created 7 years ago by olafureTutorials0 comments – viewed 15,400 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging