Wiki

Displaying 61-70 of 784 result(s).

Debuging variables in Yii2

Created 2 years ago by johonunuTips3 comments – viewed 14,150 times – ( +2 / -2 ) – version 2.0
This tutorial is explained following "basic" application structure.

Selecting best language based on Browser language and available languages.

Created 2 years ago by le_topTips0 comments – viewed 5,800 times – ( +2 / -1 ) – version 1.1
Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

How to create a custom exception and show it friendly with CJuiDialog

Created 2 years ago by Fábio SalesHow-tos0 comments – viewed 8,692 times – ( +1 / -1 ) – version 1.1
Sometimes we need to create our custom exception and show it to the end user through a friendly way . In this article, I'm showing how to do it using CJuidialog.

`forceCopy` per Asset Bundle

Created 2 years ago by schmunkHow-tos0 comments – viewed 4,746 times – ( +1 / -1 ) – version 2.0
Note: The following document describes a possible workaround, if you have issues with asset publishing. For many people this will just work fine.

YII2 Pagination Options

Created 2 years ago by VivekYiiTips0 comments – viewed 7,662 times – ( +1 / -1 ) – version 2.0
solution here If we are using default pagination option like
tags: pagination, View, vivs

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 2 years ago by robregonmHow-tos2 comments – viewed 13,968 times – ( +11 / -1 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

CJuiDatePicker extended for more/better language support

Created 2 years ago by le_topHow-tos0 comments – viewed 4,683 times – ( +1 / -1 ) – version 1.1
The number of languages supported by the standard CJuiDatePicker implementation is limited and the language code to use is different from the application's language code. This Wiki shows how to improve on that.

Running applications with Docker

Created 2 years ago by schmunkTutorials1 comment – viewed 21,632 times – ( +8 / -1 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

How to validate the uniqueness of multiple columns

Created 2 years ago by oligalmaHow-tos1 comment – viewed 5,644 times – ( +1 / -1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.

checkBox in CGridview

Created 2 years ago by n-rOthers1 comment – viewed 16,439 times – ( +1 / -1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :