Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 191-200 of 320 result(s).

simple CSV export

Updated about a year ago by bluyellHow-tos5 comments – viewed 15,098 times – ( +4 / -1 ) – version 1.1
tags: csv, excel, export

Filter / Search with CListView

Updated about a year ago by JohnPollardHow-tos7 comments – viewed 32,176 times – ( +27 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Updated about a year ago by skwordenHow-tos4 comments – viewed 13,355 times – ( +4 / -1 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

PayPal Integration And IPN (Instant Payment Notification)

Updated about a year ago by yasenHow-tos3 comments – viewed 16,321 times – ( +9 ) – version 1.1
Had to implement PayPal payments for a client and would like to share part of my code with you. Because the tutorial will become too long, I'll leave some code to be done by you, e.g. creating models, controllers and db tables for products, orders.

Additional form data with XUpload

Updated about a year ago by AsgarothHow-tos7 comments – viewed 27,490 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,808 times – ( +22 ) – 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 7,046 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.

Multilanguage Lorem Ipsum Text Generator

Updated about a year ago by yasenHow-tos2 comments – viewed 4,676 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...

TimeZone dropDown

Updated about a year ago by Maurizio Domba CerinHow-tos0 comments – viewed 6,239 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 about a year ago by chuntleyHow-tos5 comments – viewed 15,299 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