Wiki

Sorted by viewsX
Displaying 431-440 of 784 result(s).

Upload CSV File

Created 4 years ago by bhavesh vaghelaTutorials2 comments – viewed 16,908 times – ( +8 / -1 ) – version 1.1
View file

Customizing Yii's formatting rules (extending CFormatter)

Created 5 years ago by HaenselTips0 comments – viewed 16,901 times – ( +14 / -1 ) – version 1.1
CFormatter is one of Yii's core components and used to format values displayed in widgets like CGridView or CDetailView. All classic formats like numbers, text, urls or datetime are supported but you may have to use a formatting rule that isn't built in. Let's say we want to display arrays of strings (like tags associated with a product model). When using CDetailView we would usually make use of PHPs implode function to create a simple string value of all values in the $product->tags array.

Simple Mail Queue

Created 4 years ago by waterloomattTutorials3 comments – viewed 16,808 times – ( +10 / -3 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

Yii2 default values for Index data Provider

Created 3 years ago by CTalaTips3 comments – viewed 16,684 times – ( +4 / -1 ) – version 2.0
Guys,

How to hide `index` action from URL

Created 4 years ago by rootbearHow-tos2 comments – viewed 16,674 times – ( +3 / -3 ) – version 1.1
Here is my experiment inspired by my own question and others from the forum.
tags: index

[Updated] How to create & call custom global function in whole application?

Created 2 years ago by Rohit SutharTutorials8 comments – viewed 16,586 times – ( +5 / -3 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Open Dialog from ajax content

Created 4 years ago by TouzasHow-tos1 comment – viewed 16,577 times – ( +4 / -2 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

get summary of related model via STAT relation

Created 3 years ago by rootbearHow-tos2 comments – viewed 16,555 times – ( +7 / -2 ) – version 1.1
typical scenario: invoice, invoice items.

Adding a link to a CDataColumn

Created 4 years ago by le_topTips6 comments – viewed 16,477 times – ( +3 / -1 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

Sub-domains with different databases in Yii!

Created 5 years ago by jwerdHow-tos5 comments – viewed 16,425 times – ( +2 / -1 ) – version 1.1
Sub-domains with different databases in Yii!