Displaying 21-30 of 747 result(s).

Selecting best language based on Browser language and available languages.

Created 2 months ago by le_topTips0 comments – viewed 2,334 times – ( +2 ) – 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 3 months ago by Fábio SalesHow-tos0 comments – viewed 2,159 times – ( +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 3 months ago by schmunkHow-tos0 comments – viewed 1,505 times – ( +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.

How to send POST data from CActiveForm with a CListView inside

Created 3 months ago by moginnHow-tos0 comments – viewed 2,225 times – ( +1 ) – version 1.1
If you want to see a live demonstration of what I mean by "how to send POST data from CActiveForm with a CListView inside" you can take a quiz from here and you will understand.

YII2 Pagination Options

Created 3 months ago by VivekYiiTips0 comments – viewed 2,003 times – 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 3 months ago by robregonmHow-tos1 comment – viewed 2,336 times – ( +6 ) – 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 3 months ago by le_topHow-tos0 comments – viewed 1,453 times – ( +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 3 months ago by schmunkTutorials1 comment – viewed 5,016 times – ( +6 ) – 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 3 months ago by moginnHow-tos1 comment – viewed 1,658 times – ( +1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.

checkBox in CGridview

Created 4 months ago by n-rOthers0 comments – viewed 4,173 times – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :