Wiki

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

Add model validator in Controller

Created 2 years ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 15,558 times – ( +1 / -1 ) – version 1.1
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way

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

Created 5 years ago by jpabloHow-tos2 comments – viewed 15,556 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.

How to re enable logging during unit testing

Created 5 years ago by AsgarothHow-tos3 comments – viewed 15,458 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.

New Relic Error Alert with Yii

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

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

Created 7 years ago by olafureTutorials0 comments – viewed 15,243 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

How to make customizable Db Table prefixes using ActiveRecord

Created 7 years ago by killermonkTutorials0 comments – viewed 15,224 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 create the custom Drop-down using CHtml::dropDownList

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

YouTube API v2.0 – Browser-based Uploading

Created 4 years ago by VaibhavHow-tos1 comment – viewed 15,161 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

Yii2 and Pdf files with Mpdf

Created 2 years ago by CTalaHow-tos2 comments – viewed 15,124 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.

Login Form With email or Whatever

Created 2 years ago by nabil abdoualiHow-tos1 comment – viewed 15,088 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