Wiki articles in category How-tos

Showing 121-140 of 292 items.

YouTube API v2.0 – Browser-based Uploading

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

Integrating Wordpress and Yii,Working Out The Details.

Created 7 years ago by drumaddict, updated 7 years ago by drumaddict.

First things first,follow the instructions in fr0d0z's article to set up WordPress.Regarding the WpController,I did not use an index view.So the code for WpController is

class WpController extends Controller
{
    public function init()
    {
	 // note that we disable the layout
        $this->layout = false;
        parent::init();
    }

7 0
13 followers
Viewed: 28 131 times
Version: 1.1
Category: How-tos
Tags: wordpress

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 7 years ago by rAWTAZ, updated 7 years ago by rAWTAZ.

This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

7 0
10 followers
Viewed: 43 415 times
Version: 1.1
Category: How-tos

Creating and updating model and its related models in one form, inc. image

Created 7 years ago by Boaz, updated 7 years ago by Boaz.

We start slowly and simple...

6 1
21 followers
Viewed: 111 963 times
Version: 1.1
Category: How-tos

How to "masquerade" a non-required form element as 'required' one (in the view only)

Created 7 years ago by Boaz, updated 2 years ago by mrun.

Consider the following use case:

5 1
6 followers
Viewed: 19 894 times
Version: 1.1
Category: How-tos

How to hide index.php on Microsoft Windows Server with IIS7

Created 7 years ago by Giuliano, updated 7 years ago by Giuliano.

I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

6 0
6 followers
Viewed: 26 174 times
Version: 1.1
Category: How-tos

Elementary introduction to using jQuery ajax and the yii framework

Created 7 years ago by dhimes, updated 7 years ago by François Gannaz.

In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.

2 0
15 followers
Viewed: 45 432 times
Version: 1.1
Category: How-tos
Tags: AJAX

Javascript and AJAX with Yii

Created 7 years ago by François Gannaz, updated 6 years ago by François Gannaz.

This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".

23 0
30 followers
Viewed: 159 110 times
Version: 1.1
Category: How-tos

Additional form data with XUpload

Created 7 years ago by Asgaroth, updated 6 years ago by Asgaroth.

In this article you'll learn how to send additional form data when uploading files using XUpload widget

7 0
13 followers
Viewed: 40 858 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

Created 7 years ago by nkd, updated 7 years ago by nkd.

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6 followers
Viewed: 14 098 times
Version: 1.1
Category: How-tos
Tags: security

A simple go back button widget

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

Serial Numbers (item counts) in GridView

Created 7 years ago by PeRoChAk, updated 7 years ago by Maurizio Domba Cerin.

Sometime we need to display numbers of items per page with their counting as a serial number.

0 0
4 followers
Viewed: 12 828 times
Version: 1.1
Category: How-tos

simple CSV export

Created 7 years ago by bluyell, updated 6 years ago by bluyell.
2 0
13 followers
Viewed: 38 977 times
Version: 1.1
Category: How-tos
Tags: csv, excel, export

Hyphenation of routes in URL management

Created 7 years ago by qiang, updated 7 years ago by qiang.

In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.

15 0
21 followers
Viewed: 29 931 times
Version: 1.1
Category: How-tos
Tags: URL

URL management for Websites with secure and nonsecure pages

Created 7 years ago by qiang, updated 7 years ago by qiang.

In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.

18 0
35 followers
Viewed: 47 292 times
Version: 1.1
Category: How-tos
Tags: URL

Install, update and use Yii with WAMP server

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

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

0 0
5 followers
Viewed: 72 843 times
Version: 1.1
Category: How-tos

Create custom button button with AJAX function in CGridView

Created 7 years ago by nkd, updated 7 years ago by nkd.

This will call the controller function using AJAX instead of redirecting the user to the url using GET parameters.

5 0
15 followers
Viewed: 61 605 times
Version: 1.1
Category: How-tos

Localized version of CFormatter

Created 7 years ago by marcovtwout, updated 5 years ago by marcovtwout.

To replace the application component 'format', which is registered by CApplication by default, you can put this in your application 'components' config:

2 0
5 followers
Viewed: 7 096 times
Version: 1.1
Category: How-tos

pass variables or content block from view file to layout file

Created 7 years ago by yiqing95, updated 7 years ago by Maurizio Domba Cerin.

If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

2 0
6 followers
Viewed: 27 203 times
Version: 1.1
Category: How-tos
3 0
4 followers
Viewed: 15 324 times
Version: 1.1
Category: How-tos