Wiki articles tagged with "Yii"

Showing 1-20 of 39 items.

How to use EzComponents in Yii

Created 14 years ago by Ehsanjs Ehsanjs, updated 14 years ago by samdark samdark.

change your index.php

4 0
6 followers
Viewed: 15 219 times
Version: 1.1
Category: How-tos

Adding Bash Command Completion for Yii Commands

Created 13 years ago by Dustin Oprea Dustin Oprea, updated 13 years ago by Dustin Oprea Dustin Oprea.

This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

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

Single PHP entry point with Nginx

Created 10 years ago by MadAnd MadAnd, updated 10 years ago by MadAnd MadAnd.

In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.

4 0
3 followers
Viewed: 21 554 times
Version: all
Category: How-tos

Check users online, user last activity, user last ip

Created 11 years ago by frazelli frazelli, updated 11 years ago by frazelli frazelli.

Stores session data in database and transfer data when session is destroy. Uses for check users online, user's last activity and last ip.

3 0
7 followers
Viewed: 24 039 times
Version: 1.1
Category: How-tos
0 2
40 followers
Viewed: 24 364 times
Version: 2.0
Category: How-tos

Select2 Infinite Scroll With Remote Data in Yii

Created 11 years ago by IsraelAma IsraelAma, updated 11 years ago by CeBe CeBe.

I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

3 0
5 followers
Viewed: 24 952 times
Version: 1.1
Category: How-tos

CMenu widget like bootstrap navbar with submenu

Created 10 years ago by kv4nt kv4nt, updated 10 years ago by kv4nt kv4nt.
0 0
1 follower
Viewed: 25 529 times
Version: 1.1
Category: Tutorials

YouTube API v2.0 – Browser-based Uploading

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

Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

2 0
7 followers
Viewed: 26 703 times
Version: 1.1
Category: How-tos

Yiinitializr: The Library

Created 12 years ago by Antonio Ramirez Antonio Ramirez, updated 12 years ago by Antonio Ramirez Antonio Ramirez.

Yiinitializr\Helpers\Initializer::create('./../', 'frontend', array(

// will override frontend configuration file
__DIR__ .'/../../common/config/main.php', // merged with
__DIR__ .'/../../common/config/env.php', // merged with
__DIR__ .'/../../common/config/local.php' // merged with

))->run(); `

Yiinitializr\Cli namespace

This namespace brings utilities to interact with...

14 0
23 followers
Viewed: 28 867 times
Version: 1.1
Category: Others

Rendering Views and Updating them with Ajax

Created 12 years ago by Manish Gupta Manish Gupta, updated 12 years ago by Manish Gupta Manish Gupta.

I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

1 0
7 followers
Viewed: 30 834 times
Version: Unknown (update)
Category: Tips

YII SaaS Multi Tenant application with single database

Created 12 years ago by Rajith R Rajith R, updated 11 years ago by xJose xJose.

Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

6 1
14 followers
Viewed: 31 163 times
Version: 1.1
Category: Tutorials

Multilanguage and SEO friendly

Created 12 years ago by Interboy Interboy, updated 11 years ago by Rohit Suthar Rohit Suthar.

In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

4 0
8 followers
Viewed: 32 086 times
Version: 1.1
Category: How-tos

Image resize on the fly

Created 13 years ago by Tpoxa Tpoxa, updated 13 years ago by Tpoxa Tpoxa.
3 0
11 followers
Viewed: 34 343 times
Version: 1.1
Category: How-tos

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 12 years ago by Interboy Interboy, updated 11 years ago by xJose xJose.

Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

3 0
7 followers
Viewed: 38 689 times
Version: 1.1
Category: How-tos

A simple go back button widget

Created 13 years ago by CTala CTala, updated 13 years ago by bennouna bennouna.

We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

2 1
6 followers
Viewed: 39 697 times
Version: 1.1
Category: How-tos

Simple example for language translation

Created 11 years ago by RKA RKA, updated 11 years ago by CeBe CeBe.

Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.

1 0
5 followers
Viewed: 40 848 times
Version: 1.1
Category: How-tos
Tags: i18n, Yii

Create Yii Project In Cloud9

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

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.

2 0
5 followers
Viewed: 41 199 times
Version: 1.1
Category: Tutorials

How to call a default layout for every module and how to work <php echo $content; ?>

Created 12 years ago by Ankit Modi Ankit Modi, updated 12 years ago by Ankit Modi Ankit Modi.

Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

0 0
1 follower
Viewed: 43 607 times
Version: Unknown (update)
Category: Tips

Starting your Yii Project Reference Guide (with Git VCS in Linux)

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

I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

16 0
12 followers
Viewed: 44 510 times
Version: 1.1
Category: Tutorials

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.

Alternatively, inline assets (JS/CSS) can be registered at runtime from within the View. For example you can clearly simulate the ajaxLink feature using a inline javascript. Its however recommended if you can merge where possible, client code (JS/CSS) into separate JS/CSS files and loaded through the AssetBundle. Note there is no more need of a CClientScript anymore:

1 2
41 followers
Viewed: 47 204 times
Version: 2.0
Category: FAQs