Wiki

Sorted by date (updated)X
Displaying 421-430 of 750 result(s).

Additional form data with XUpload

Updated 2 years ago by AsgarothHow-tos7 comments – viewed 30,355 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 2 years ago by adlersdHow-tos12 comments – viewed 38,196 times – ( +23 ) – 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 2 years ago by JamesBarnsleyHow-tos3 comments – viewed 7,697 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 2 years ago by yasenTutorials2 comments – viewed 5,778 times – ( +8 ) – version 1.1
I. In the view script add the following hidden fields:

Multilanguage Lorem Ipsum Text Generator

Updated 2 years ago by yasenHow-tos2 comments – viewed 5,248 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 2 years ago by softarkTips14 comments – viewed 65,784 times – ( +142 ) – 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 2 years ago by François GannazTips0 comments – viewed 9,578 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Updated 2 years ago by robregonmTips1 comment – viewed 13,426 times – ( +7 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

TimeZone dropDown

Updated 2 years ago by Maurizio Domba CerinHow-tos0 comments – viewed 6,898 times – ( +2 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Load the Yii-Bootstrap Extension on Specific Actions

Updated 2 years ago by chuntleyHow-tos5 comments – viewed 17,069 times – ( +10 ) – version 1.1
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter