Wiki

Sorted by date (updated)X
Displaying 361-370 of 704 result(s).

Behaviors & events

Updated about a year ago by GismoTutorials10 comments – viewed 90,187 times – ( +50 ) – version 1.1
These features provide endless possibilities and unbelievable flexibility, but as current documentation does not give more than a few examples, it might be difficult to fully understand their internals and requirements.

Adding search to Yii blog example (using Zend Lucene)

Updated about a year ago by klammeraffeTutorials21 comments – viewed 59,063 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

CSS Naming Conventions

Updated about a year ago by GismoTutorials4 comments – viewed 27,259 times – ( +35 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

Additional form data with XUpload

Updated about a year ago by AsgarothHow-tos7 comments – viewed 26,747 times – ( +9 ) – version 1.1
In this article you'll learn how to send additional form data when uploading files using XUpload widget

How to show ajax delete status in CGridView like flash messages

Updated about a year ago by adlersdHow-tos12 comments – viewed 34,172 times – ( +21 ) – version 1.1
I've seen many tickets regarding how to show friendly delete confirmation using CGridView's CButtonColumn in ajax request. If you are using relational database, after producing CRUD functionality when you try to delete a record in ajax mode which has child record it can't be deleted and you can see the ajax loader forever. By this way you can't show the users if a record has been successfully deleted or if there are some problem in flash style (setFlash() / getFlash())

Handling recursive deletion in Yii

Updated about a year ago by JamesBarnsleyHow-tos3 comments – viewed 6,907 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

ePay Integration - Bulgarian Payment Provider

Updated about a year ago by yasenTutorials2 comments – viewed 4,984 times – ( +8 ) – version 1.1
I. In the view script add the following hidden fields:

Multilanguage Lorem Ipsum Text Generator

Updated about a year ago by yasenHow-tos2 comments – viewed 4,597 times – ( +2 ) – version 1.1
Taking futher the idea from Piotr Masełkowski - http://www.yiiframework.com/extension/elipsum/ here's how to generate multilanguage Lorem Ipsum text. This example uses English and Bulgarian sample paragraphs. Create a class in /protected/components/LoremIpsum.php. Wall of text incoming wohoo...

Guidelines for good schema design

Updated about a year ago by softarkTips15 comments – viewed 58,534 times – ( +141 ) – version 1.1
Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Updated about a year ago by François GannazTips0 comments – viewed 7,970 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test