Wiki

Displaying 1-10 of 728 result(s).

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

Created a day ago by Fábio SalesHow-tos0 comments – viewed 450 times – 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 days ago by schmunkHow-tos0 comments – viewed 370 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 4 days ago by moginnHow-tos0 comments – viewed 664 times – version 1.1
We need to send POST data on clicking any pagination buttons. To achieve this, we need to 1) insert a hidden field and 2) write some jQuery.

YII2 Pagination Options

Created 4 days ago by VivekYiiTips0 comments – viewed 722 times – version 2.0
solution here If we are using default pagination option like
tags: pagination, View, vivs

Yii2 Enable content protection with own javascript file in the project frontend

Created 9 days ago by VivekYiiTutorials0 comments – viewed 1,089 times – ( +1 / -3 ) – version 2.0
If you are trying to put own java script function on application view, this is perfect article

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

Created 11 days ago by robregonmHow-tos1 comment – viewed 1,028 times – ( +4 ) – 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 13 days ago by le_topHow-tos0 comments – viewed 888 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 15 days ago by schmunkTutorials0 comments – viewed 3,111 times – ( +3 ) – 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 17 days ago by moginnHow-tos0 comments – viewed 1,095 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 month ago by n-rOthers0 comments – viewed 2,563 times – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :