Wiki

Sorted by date (updated)X
Displaying 441-450 of 771 result(s).

PayPal Integration And IPN (Instant Payment Notification)

Updated 3 years ago by yasenHow-tos3 comments – viewed 21,886 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 3 years ago by ajsharmaTips1 comment – viewed 6,782 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 3 years ago by GismoTutorials10 comments – viewed 119,993 times – ( +52 ) – 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 3 years ago by klammeraffeTutorials21 comments – viewed 70,774 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 3 years ago by GismoTutorials4 comments – viewed 30,930 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 3 years ago by AsgarothHow-tos7 comments – viewed 34,257 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 3 years ago by adlersdHow-tos12 comments – viewed 43,102 times – ( +25 ) – 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())

ePay Integration - Bulgarian Payment Provider

Updated 3 years ago by yasenTutorials2 comments – viewed 6,795 times – ( +8 ) – version 1.1
I. In the view script add the following hidden fields:

Multilanguage Lorem Ipsum Text Generator

Updated 3 years ago by yasenHow-tos2 comments – viewed 6,419 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 3 years ago by softarkTips15 comments – viewed 80,218 times – ( +143 ) – 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.