Wiki articles

Showing 101-120 of 651 items.

Insert data from database to another database table

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

According to below wiki we could migrate database schema to another database

1 0
2 followers
Viewed: 15 556 times
Version: 1.1
Category: Tutorials

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 11 years ago by sirin k, updated 6 years ago by Maurizio Domba Cerin.

hello,

 This article is helpful only if you have the following situation:
 A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out  out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
4 0
6 followers
Viewed: 15 625 times
Version: 1.1
Category: Tips
Tags: facebook, user

Using Pear Mail Mail_Mime and Mail_Queue

Created 12 years ago by Loren, updated 12 years ago by Loren.

require_once 'Mail.php'; // PEAR Mail require_once 'Mail/mime.php'; // PEAR Mail_mime require_once 'Mail/Queue.php'; // PEAR Mail_queue require_once 'Mail/Queue/Container/mdb2.php'; // PEAR Mail_queue mdb2

7 0
11 followers
Viewed: 15 795 times
Version: 1.1
Category: How-tos

How to use Flash, Zend AMF and Yii Framework

Created 12 years ago by janisto, updated 12 years ago by janisto.

This is a simple demo how to use Zend_AMF with Yii.

3 0
6 followers
Viewed: 15 807 times
Version: 1.1
Category: Tutorials

Disallowing login for INACTIVE users in Yii

Created 9 years ago by Rohit Suthar, updated 9 years ago by Rohit Suthar.

In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

1 0
3 followers
Viewed: 16 271 times
Version: 1.1
Category: Tutorials

Handling recursive deletion in Yii

Created 11 years ago by JamesBarnsley, updated 8 years ago by JamesBarnsley.

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.

3 0
5 followers
Viewed: 16 309 times
Version: 1.1
Category: How-tos

Application-driven database with CDbMigration and an extended CActiveRecord

Created 12 years ago by Tudor Ilisoi, updated 12 years ago by Tudor Ilisoi.

This is an incipient implementation of application-driven database with Yii.

8 0
10 followers
Viewed: 16 403 times
Version: 1.1
Category: Others

How to apply a layout to an AJAX update

Created 10 years ago by trond, updated 10 years ago by CeBe.
  1. The Main template holds the header, main navigation and footer
  2. One or more layout files holds the column setup, sub navigation etc.
  3. The view files hold the actual page content.
1 0
4 followers
Viewed: 16 446 times
Version: 1.1
Category: How-tos
Tags: AJAX, views

Ordering Models by Weight with CJuiSortable

Created 14 years ago by Matt Kelliher, updated 10 years ago by Phil Loaiza.

In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

9 0
10 followers
Viewed: 16 463 times
Version: 1.1
Category: Tutorials
Tags:

Themed translations (i18n)

Created 9 years ago by le_top, updated 9 years ago by le_top.

When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

1 0
1 follower
Viewed: 16 502 times
Version: 1.1
Category: How-tos

Turn Web HTML Into Newsletter

Created 11 years ago by yasen, updated 10 years ago by yasen.

These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

6 0
9 followers
Viewed: 16 518 times
Version: 1.1
Category: How-tos

Syncing sessions between Yii and KCFinder

Created 11 years ago by Thanasis Fotis, updated 10 years ago by Boaz.

>Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If t...

1 0
6 followers
Viewed: 16 520 times
Version: 1.1
Category: How-tos

Active Record snapshotting (Model data base history)

Created 9 years ago by Bizley, updated 9 years ago by Bizley.

One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

1 0
5 followers
Viewed: 16 521 times
Version: 1.1
Category: Tutorials

ISA hierarchy of tables inside a database and how to implement a single form

Created 12 years ago by pligor, updated 12 years ago by pligor.

Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench: ![MySQL workbench screenshot](http://s4.postimage.org/4tuwkm43d/Screenshot.pn...

1 0
3 followers
Viewed: 16 715 times
Version: 1.1
Category: How-tos

Simple Multiple Environment Setup with Default Yii Installation

Created 10 years ago by Ibrar Turi, updated 10 years ago by CeBe.

After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

2 0
8 followers
Viewed: 16 757 times
Version: 1.1
Category: How-tos

Creating HTML code using Jamboree Panels

Created 11 years ago by bluyell, updated 11 years ago by bluyell.
2 0
2 followers
Viewed: 16 808 times
Version: 1.1
Category: Tutorials

Directory independent extensions

Created 13 years ago by GOsha, updated 13 years ago by GOsha.

Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

// take the curr...
16 1
7 followers
Viewed: 16 882 times
Version: 1.1
Category: Tips

How to have truly multilingual URLs

Created 8 years ago by oligalma, updated 2 years ago by oligalma.

We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

0 0
3 followers
Viewed: 16 906 times
Version: 1.1
Category: How-tos

Expert's model generation with Gii

Created 9 years ago by le_top, updated 9 years ago by le_top.

Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

1 0
2 followers
Viewed: 16 943 times
Version: 1.1
Category: Tips

Update Gridview with Dropdown Selection

Created 9 years ago by lgastmans, updated 9 years ago by lgastmans.

I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

0 0
4 followers
Viewed: 16 966 times
Version: 1.1
Category: Tips