Wiki

Sorted by viewsX
Displaying 291-300 of 675 result(s).

Integrating with other frameworks

Created 5 years ago by KJediTutorials4 comments – viewed 14,767 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

How to setup FCKeditor

Created 5 years ago by krillzipTutorials2 comments – viewed 14,704 times – ( +3 / -1 ) – version 1.1
To start with you need to download the latest stable release of FCKeditor. Extract the downloaded file and place the fckeditor/ folder in your applications webroot directory.

Performance - A Guide For Best Practice

Created 4 years ago by Y!!Tutorials3 comments – viewed 14,689 times – ( +8 / -5 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Relational Query - Lazy Loading and Eager Loading / with and together

Created about a year ago by softarkTutorials9 comments – viewed 14,661 times – ( +13 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Adding a date range search for CGridView the easy way

Created about a year ago by mikewalenTips4 comments – viewed 14,650 times – ( +10 ) – version 1.1
After a lot of research, everything I found on adding date range searching to a CGridView advanced search form seemed to involve adding two new public variables (e.g. $date_from, $date_to), 'safe' rules for the new variables, and a rather chunky if/elseif/else check in the search() method. This probably isn't a hassle for most, but because many of the tables in my database contain two or three and sometimes four date columns (e.g. date_created, date_modified, date_deleted etc.), it meant I was having to add up to eight public variables, the corresponding safe rules, and modifying the search() criteria for each date attribute. So, I set about creating a better way and I thought I'd share my work with the community.

Integrating Wordpress and Yii,Working Out The Details.

Created about a year ago by drumaddictHow-tos4 comments – viewed 14,606 times – ( +8 ) – version 1.1
This article is based on fr0d0z's article Integrating Wordpress and Yii: still another approach, using Yii as the router/controller and provides more details on how to set up this integration.To be more specific,the idea is not to use any main.php layout in Yii's controllers.This gives the advantage that we do not need to modify any Yii code when we switch a theme in WordPress admin panel,provided we have done a very basic setup which I explain below.
tags: wordpress

How to use Highslide for image popups

Created 5 years ago by mocapapaTutorials0 comments – viewed 14,596 times – ( +1 ) – version 1.1
You can download the highslide javascript from http://highslide.com/. And here is an explanation on that URL;
tags: image, popups

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 3 years ago by a110yTips7 comments – viewed 14,550 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

Simple Share Widget for Facebook, twitter and google+

Created 2 years ago by softarkHow-tos3 comments – viewed 14,424 times – ( +10 ) – version 1.1
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.

Create Yii Project In Cloud9

Created about a year ago by BenTutorials5 comments – viewed 14,377 times – ( +3 ) – version 1.1
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.