Wiki

Displaying 361-370 of 771 result(s).

Handling recursive deletion in Yii

Created 3 years ago by JamesBarnsleyHow-tos3 comments – viewed 9,079 times – ( +3 ) – version 1.1
I www.jamesbarnsley.com 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.

TimeZone dropDown

Created 3 years ago by Tibor KatelbachHow-tos0 comments – viewed 8,234 times – ( +3 ) – 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

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 3 years ago by sebTips0 comments – viewed 12,302 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

Load the Yii-Bootstrap Extension on Specific Actions

Created 3 years ago by chuntleyHow-tos5 comments – viewed 19,253 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

PayPal Integration And IPN (Instant Payment Notification)

Created 3 years ago by yasenHow-tos3 comments – viewed 21,887 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.

CKEditor Integration (includes steps for file uploads) - Step by Step

Created 3 years ago by shulmeHow-tos12 comments – viewed 51,818 times – ( +26 ) – version 1.1
Hey guys, I'm hoping other people will find this helpful. Today I went through the process of adding CKEditor to one of my projects, and then integrating KCFinder as the image uploader. It will be used in a CActiveForm, without the use of any crazy weird widgets. All paths are relative, using Yii functions, so this will work no matter where you install. Here it is:

MigrateCommand class for multiple sites using one code base

Created 3 years ago by Hudson NguyenHow-tos1 comment – viewed 3,608 times – ( +1 ) – version 1.1
My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

How to use YiiBooster TbFileUpload widget

Created 3 years ago by Antonio RamirezHow-tos15 comments – viewed 41,859 times – ( +11 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

An Easy Solution for Dependent dropDownList Using AJAX

Created 3 years ago by mrsTips11 comments – viewed 74,566 times – ( +15 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 3 years ago by softarkTutorials13 comments – viewed 43,068 times – ( +33 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.