Wiki articles in category How-tos tagged with "Yii"

Showing 1-16 of 16 items.

Single PHP entry point with Nginx

Created 4 years ago by MadAnd, updated 4 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: 9 730 times
Version: all
Category: How-tos

Check users online, user last activity, user last ip

Created 4 years ago by frazelli, updated 4 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: 15 444 times
Version: 1.1
Category: How-tos

Select2 Infinite Scroll With Remote Data in Yii

Created 5 years ago by IsraelAma, updated 5 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: 14 751 times
Version: 1.1
Category: How-tos

Simple example for language translation

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

Multilanguage and SEO friendly

Created 5 years ago by Interboy, updated 4 years ago by Rohit Suthar.

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

4 0
8 followers
Viewed: 24 978 times
Version: 1.1
Category: How-tos

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

Created 5 years ago by Interboy, updated 5 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: 28 534 times
Version: 1.1
Category: How-tos

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

Created 6 years ago by br0sk, updated 6 years ago by br0sk.

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

3 0
10 followers
Viewed: 46 182 times
Version: 1.1
Category: How-tos

Image resize on the fly

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

Install, update and use Yii with WAMP server

Created 6 years ago by mrs, updated 6 years ago by mrs.

Here I am describing how you can install and update Yii in WAMP sever.

0 0
5 followers
Viewed: 68 825 times
Version: 1.1
Category: How-tos

A simple go back button widget

Created 6 years ago by CTala, updated 6 years ago by 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: 29 408 times
Version: 1.1
Category: How-tos

YouTube API v2.0 – Browser-based Uploading

Created 6 years ago by Vaibhav, updated 6 years ago by 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: 18 453 times
Version: 1.1
Category: How-tos

Adding Bash Command Completion for Yii Commands

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

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

3 0
5 followers
Viewed: 11 414 times
Version: 1.1
Category: How-tos

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

Created 7 years ago by acorncom, updated 5 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
25 followers
Viewed: 69 688 times
Version: 1.1
Category: How-tos

Integrating Wordpress and Yii: yet another approach

Created 7 years ago by goncin, updated 7 years ago by goncin.
6 2
11 followers
Viewed: 30 020 times
Version: 1.1
Category: How-tos

How to use EzComponents in Yii

Created 8 years ago by Ehsanjs, updated 7 years ago by samdark.

change your index.php

4 0
6 followers
Viewed: 10 586 times
Version: 1.1
Category: How-tos

How to use PHPExcel external library with Yii

Created 8 years ago by Antonio Ramirez, updated 5 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: 113 643 times
Version: 1.1
Category: How-tos