Sorted by date (updated)X
Displaying 431-440 of 765 result(s).

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

Updated 3 years ago by Maurizio Domba CerinTutorials2 comments – viewed 7,417 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 3 years ago by skwordenHow-tos4 comments – viewed 16,907 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 3 years ago by yasenHow-tos3 comments – viewed 20,684 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,419 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 115,308 times – ( +51 ) – 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 68,913 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,132 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 33,091 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 41,557 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 3 years ago by JamesBarnsleyHow-tos3 comments – viewed 8,595 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.