Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 11-20 of 336 result(s).

Using Yii Gallery Manager in your Yii 1.x application

Updated about a month ago by TrejderHow-tos0 comments – viewed 1,789 times – ( +1 ) – version 1.1
Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article to remember all these for future reference.

Write & use a custom Component in Yii2.0

Updated about a month ago by sirin kHow-tos2 comments – viewed 10,899 times – ( +15 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Storing your images in your table's blob field and displaying that stored images.

Updated about a month ago by sirin kHow-tos7 comments – viewed 24,760 times – ( +9 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Displaying image in a CGridView column.

Updated about a month ago by sirin kHow-tos5 comments – viewed 50,526 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

MailGun Api Wrapper to send emails

Updated about a month ago by VINAY Kr. SHARMAHow-tos0 comments – viewed 1,273 times – ( +1 ) – version 1.1
MailGun.php Class
tags: mailgun, email

How to send POST data from CActiveForm with a CListView inside

Updated about a month ago by moginnHow-tos0 comments – viewed 2,131 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 2 months ago by schmunkHow-tos0 comments – viewed 1,455 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 2 months ago by softarkHow-tos13 comments – viewed 34,107 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 2 months ago by Gerhard LiebenbergHow-tos2 comments – viewed 33,933 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 2 months ago by moginnHow-tos1 comment – viewed 1,612 times – ( +1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.