Wiki

Displaying 51-60 of 777 result(s).

Selecting best language based on Browser language and available languages.

Created about a year ago by le_topTips0 comments – viewed 4,467 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 about a year ago by Fábio SalesHow-tos0 comments – viewed 5,951 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 about a year ago by schmunkHow-tos0 comments – viewed 3,293 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 about a year ago by oligalmaHow-tos0 comments – viewed 5,297 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 about a year ago by VivekYiiTips0 comments – viewed 5,405 times – ( +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 about a year ago by robregonmHow-tos2 comments – viewed 8,841 times – ( +10 ) – 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 about a year ago by le_topHow-tos0 comments – viewed 3,421 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 about a year ago by schmunkTutorials1 comment – viewed 13,449 times – ( +7 ) – 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 about a year ago by oligalmaHow-tos1 comment – viewed 3,396 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 about a year ago by n-rOthers0 comments – viewed 12,257 times – ( +1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :