Wiki

Sorted by date (updated)X
Displaying 371-380 of 718 result(s).

Filter / Search with CListView

Updated about a year ago by JohnPollardHow-tos7 comments – viewed 32,587 times – ( +28 ) – 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.

Define general array and variable and call it to anywhere in application

Updated about a year ago by Maurizio Domba CerinTutorials2 comments – viewed 5,873 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

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,508 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,577 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 about a year ago by ajsharmaTips1 comment – viewed 5,204 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 about a year ago by GismoTutorials10 comments – viewed 94,275 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 60,983 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,631 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 27,851 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 35,213 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())