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

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

Updated 2 years ago by skwordenHow-tos4 comments – viewed 15,970 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 2 years ago by yasenHow-tos3 comments – viewed 19,487 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.

Making friends' configs, DB credentials and paths with version control

Updated 2 years ago by ajsharmaTips1 comment – viewed 6,066 times – ( +2 / -1 ) – version 1.1
In many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test server and never (generally speaking) - on the production.
tags: config

Behaviors & events

Updated 2 years ago by GismoTutorials10 comments – viewed 110,810 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 2 years ago by klammeraffeTutorials21 comments – viewed 67,032 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 2 years ago by GismoTutorials4 comments – viewed 29,460 times – ( +35 / -1 ) – 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 2 years ago by AsgarothHow-tos7 comments – viewed 31,885 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 40,177 times – ( +24 ) – 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 8,207 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 6,103 times – ( +8 ) – version 1.1
I. In the view script add the following hidden fields: