Wiki

Displaying 61-70 of 784 result(s).

Selecting best language based on Browser language and available languages.

Created 2 years ago by le_topTips0 comments – viewed 5,585 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,283 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,552 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.

How to send POST data from CActiveForm with a CListView inside

Created 2 years ago by oligalmaHow-tos0 comments – viewed 6,872 times – ( +1 / -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 2 years ago by VivekYiiTips0 comments – viewed 7,316 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,242 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,485 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 20,594 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,319 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 15,872 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 :