Wiki articles

Showing 21-40 of 799 items.

Migration the database schema to another one

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

In this wiki I will show how to copy a schema from a database to another one

1 0
5 followers
Viewed: 6 677 times
Version: 1.1
Category: Tutorials

MailGun Api Wrapper to send emails

Created 4 years ago by VINAY Kr. SHARMA, updated 4 years ago by VINAY Kr. SHARMA.

MailGun.php Class

1 0
1 follower
Viewed: 6 853 times
Version: 1.1
Category: How-tos
Tags: email, mailgun

Localized version of CFormatter

Created 6 years ago by marcovtwout, updated 5 years ago by marcovtwout.

To replace the application component 'format', which is registered by CApplication by default, you can put this in your application 'components' config:

2 0
5 followers
Viewed: 6 887 times
Version: 1.1
Category: How-tos

Translation from .txt file

Created 4 years ago by Yii3, updated 4 years ago by Yii3.

Translation from .txt file Note:

0 2
4 followers
Viewed: 7 022 times
Version: 1.1
Category: Tutorials
1 3
3 followers
Viewed: 7 042 times
Version: 1.1
Category: How-tos

Integrate Zend 2 XML writer into Yii

Created 5 years ago by Jonny, updated 5 years ago by CeBe.

By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.

2 0
4 followers
Viewed: 7 090 times
Version: 1.1
Category: Tutorials
Tags: XML, zend

An alternative way to ElasticSearch

Created a year ago by Necip, updated 11 months ago by Necip.

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2 followers
Viewed: 7 115 times
Version: all
Category: How-tos

More on SSE and Yii

Created 6 years ago by Firebreaker, updated 6 years ago by Firebreaker.

This is not actually Yii involved.

1 0
1 follower
Viewed: 7 119 times
Version: Unknown (update)
Category: Tips

How to implement magento cron on yii

Created 5 years ago by Ankit Modi, updated 5 years ago by CeBe.

Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

0 0
3 followers
Viewed: 7 207 times
Version: 1.1
Category: How-tos

Themed translations (i18n)

Created 4 years ago by le_top, updated 4 years ago by le_top.

When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

1 0
1 follower
Viewed: 7 239 times
Version: 1.1
Category: How-tos
1 0
5 followers
Viewed: 7 252 times
Version: 1.1
Category: How-tos
Tags: i18n, Routing

Named scope - Get orphan AR without losing primary key

Created 8 years ago by cma, updated 8 years ago by Steve Friedl.

Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

public function scopeUnused( $useAnd = true )
    {
        $join = " left outer join composed_by j on t.ID = j.ID ";
        $condition = ' j.ID Is Null';

0 0
2 followers
Viewed: 7 292 times
Version: 1.1
Category: Tutorials
Tags:

Create URL to language switcher anchor with langhandler

Created 5 years ago by Anas AbuDayah, updated 5 years ago by Anas AbuDayah.

This topic is related with langhandler extension

1 1
2 followers
Viewed: 7 318 times
Version: 1.1
Category: Tips

Logging to Heroku's logs from Yii

Created 6 years ago by aarondfrancis, updated 5 years ago by aarondfrancis.

In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the boot.sh script and add the following two lines: ~~~ touch /app/apache/logs/app_log tail -F /app/apache/logs/app_log & ~~~ This will set up the log and tail it so that when you request "heroku logs", this log is included.

1 0
1 follower
Viewed: 7 325 times
Version: 1.1
Category: How-tos

Custom Archive in Blog system

Created 6 years ago by nirmalroka, updated 6 years ago by nirmalroka.

Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

1 0
2 followers
Viewed: 7 480 times
Version: 1.1
Category: Tips

Useful Multilanguage extensions collection and use.

Created 5 years ago by cihappy, updated 4 years ago by Rohit Suthar.

What I want to achieve:

2 0
3 followers
Viewed: 7 599 times
Version: 1.1
Category: Tips

Search scenario (CGridView, etc.): avoid default values from database as search condition.

Created 5 years ago by le_top, updated 5 years ago by le_top.

Yii has a neat "trick" that will assign default values to new CActiveRecords. When performing a search() though, this is pretty annoying as they automatically apply as filter values.

1 0
2 followers
Viewed: 7 721 times
Version: 1.1
Category: Tips

`forceCopy` per Asset Bundle

Created 4 years ago by schmunk, updated 4 years ago by schmunk.

During development and depending on your setup you may need to use the options forceCopy or linkAssets of the asset manager to work around possible file-system and permission issues.

1 0
1 follower
Viewed: 7 794 times
Version: 2.0
Category: How-tos

Entire Messages into javascript object

Created 6 years ago by markux, updated 6 years ago by markux.

I needed all messages with their translation into javascript. This is my solution:

1 0
3 followers
Viewed: 7 856 times
Version: 1.1
Category: How-tos

CJuiDatePicker extended for more/better language support

Created 4 years ago by le_top, updated 4 years ago by le_top.

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.

1 0
1 follower
Viewed: 7 940 times
Version: 1.1
Category: How-tos