Wiki articles tagged with "Yii"

Showing 1-20 of 31 items.

Yii for beginners 2

Created 11 years ago by rackycz, updated 2 years ago by rackycz.

This is second article with my tutorial. I had to add it, because Wiki article has limited length and as I was extending it's text, older paragraphs were disappearing. So here I am starting from chapter 6.

15 0
21 followers
Viewed: 85 435 times
Version: 1.1
Category: Tutorials

How to learn Yii?!

Created 12 years ago by yJeroen, updated 4 years ago by CeBe.

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 118 931 times
Version: all
Category: Tutorials

Yii for beginners

Created 12 years ago by rackycz, updated 4 years ago by rackycz.

Hi. This is first article with my Yii v1 tutorial. I had to split it into 2 articles as there's limited length of texts on Wiki. So once you understand basics, you can read the 2nd article here: Yii for beginners 2.

68 0
75 followers
Viewed: 437 835 times
Version: 1.1
Category: Tutorials

CMenu widget like bootstrap navbar with submenu

Created 8 years ago by kv4nt, updated 8 years ago by kv4nt.
0 0
1 follower
Viewed: 22 853 times
Version: 1.1
Category: Tutorials

Single PHP entry point with Nginx

Created 8 years ago by MadAnd, updated 8 years ago by 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: 17 616 times
Version: all
Category: How-tos

Multilanguage and SEO friendly

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

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

4 0
8 followers
Viewed: 29 419 times
Version: 1.1
Category: How-tos

Check users online, user last activity, user last ip

Created 9 years ago by frazelli, updated 9 years ago by 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: 21 964 times
Version: 1.1
Category: How-tos

A very easy way to setup yiic on WAMP server (without extra windows settings)

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

Assuming that you have already install the wampserver on your windows.

3 1
4 followers
Viewed: 51 199 times
Version: 1.1
Category: Tutorials

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 9 years ago by Rajith R, updated 9 years ago by Rajith R.

As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.

3 0
5 followers
Viewed: 31 040 times
Version: 1.1
Category: Tutorials
Tags: newbie, Yii, yiic

YII SaaS Multi Tenant application with single database

Created 10 years ago by Rajith R, updated 9 years ago by 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: 27 801 times
Version: 1.1
Category: Tutorials

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

Created 10 years ago by Interboy, updated 10 years ago by 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: 34 804 times
Version: 1.1
Category: How-tos

Simple example for language translation

Created 10 years ago by RKA, updated 10 years ago by 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: 37 454 times
Version: 1.1
Category: How-tos
Tags: i18n, Yii

Select2 Infinite Scroll With Remote Data in Yii

Created 10 years ago by IsraelAma, updated 10 years ago by 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: 21 470 times
Version: 1.1
Category: How-tos

Add information to Yii::app()->user by extending CWebUser (better version)

Created 13 years ago by emix, updated 10 years ago by Anas AbuDayah.

I found a better solution.

5 0
10 followers
Viewed: 49 372 times
Version: 1.1
Category: Tutorials
Tags: rbac, user, Yii

How to use PHPExcel external library with Yii

Created 13 years ago by Antonio Ramirez, updated 10 years ago by cgsmith.

Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

27 1
25 followers
Viewed: 138 713 times
Version: 1.1
Category: How-tos

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Created 12 years ago by acorncom, updated 10 years ago by acorncom.

When you're finished following this article, you'll have a website that integrates WordPress and Yii routes in under one path. For example, you can setup /widgets and /customers to point to Yii controllers and /about-us, /contact-us, /blog/* and /faq pointing to WordPress pages.

19 0
24 followers
Viewed: 85 376 times
Version: 1.1
Category: How-tos

How to use the official Yii installer for Composer (**DEPRECATED**)

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

This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

3 0
10 followers
Viewed: 54 355 times
Version: 1.1
Category: How-tos

Yiinitializr: The Library

Created 11 years ago by Antonio Ramirez, updated 11 years ago by 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: 26 504 times
Version: 1.1
Category: Others

Creating Yii applications with composer

Created 11 years ago by schmunk, updated 11 years ago by SleepWalker.

When creating web-application projects, you can add a great variety of different extensions, modules, plugins or scripts to your code-base. But maintaining a stable combination and updating certain packages can become a hard task.

27 0
32 followers
Viewed: 114 771 times
Version: 1.1
Category: Tutorials

Image resize on the fly

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