Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 21-30 of 341 result(s).

MailGun Api Wrapper to send emails

Updated 3 months ago by VINAY Kr. SHARMAHow-tos0 comments – viewed 1,475 times – ( +1 ) – version 1.1
MailGun.php Class
tags: mailgun, email

How to send POST data from CActiveForm with a CListView inside

Updated 3 months ago by moginnHow-tos0 comments – viewed 2,433 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.

`forceCopy` per Asset Bundle

Updated 3 months ago by schmunkHow-tos0 comments – viewed 1,652 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.

Searching and Sorting by Count of Related Items in CGridView

Updated 3 months ago by softarkHow-tos13 comments – viewed 35,004 times – ( +31 ) – version 1.1
Let's say we have two models and relation between them:

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Updated 3 months ago by Gerhard LiebenbergHow-tos2 comments – viewed 35,906 times – ( +6 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

How to validate the uniqueness of multiple columns

Updated 3 months ago by moginnHow-tos1 comment – viewed 1,800 times – ( +1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.

BUM - Add Additional Info to a User

Updated 4 months ago by AnibalHow-tos1 comment – viewed 9,062 times – ( +1 ) – version 1.1
How to add additional information to a user when using BUM extension?

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

Updated 4 months ago by Fábio SalesHow-tos0 comments – viewed 2,398 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.

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

Updated 4 months ago by robregonmHow-tos1 comment – viewed 2,787 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.

How to provide a fallback or mapping for translation messages?

Updated 4 months ago by schmunkHow-tos1 comment – viewed 4,167 times – ( +5 ) – version 1.1
Sometimes you want to use exisiting translations for locales, which do not directly match. An example would be a website targeting Germany (de_de), Austria (de_at) and Switzerland (de_ch, fr_ch, it_ch). Although you may have exisiting translations for German (de), French (fr) and Italian (it), there are problems using it directly.