Wiki articles in category How-tos

Showing 21-40 of 292 items.

Dynamic Sidebar using CClipWidget

Created 13 years ago by Sheldmandu, updated 10 years ago by Cozumel.

There are a couple of ways to achieve this, but the first is preferred.

18 0
18 followers
Viewed: 53 676 times
Version: 1.1
Category: How-tos

X-Sendfile - serve large static files efficiently from web applications

Created 13 years ago by Maurizio Domba Cerin, updated 12 years ago by Maurizio Domba Cerin.

Normally when we want users to download a file, that file is put in a folder under the web application root and the web server does the rest.

29 0
20 followers
Viewed: 119 673 times
Version: 1.1
Category: How-tos

Mais segurança em suas aplicações com Yii e PHPIDS

Created 13 years ago by Rafael Garcia, updated 13 years ago by Rafael Garcia.

PHPIDS é conhecido projeto que pode ser visto em php-ids.org.

2 1
3 followers
Viewed: 12 423 times
Version: 1.1
Category: How-tos

More security in your applications with Yii and PHPIDS

Created 13 years ago by Rafael Garcia, updated 13 years ago by Gustavo.

PHPIDS is a well known project that can be found in php-ids.org.

6 0
14 followers
Viewed: 19 970 times
Version: 1.1
Category: How-tos

Enforcing "You must agree" requirements in forms

Created 13 years ago by Steve Friedl, updated 13 years ago by Steve Friedl.

Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:

25 0
17 followers
Viewed: 33 232 times
Version: 1.1
Category: How-tos

Single sign on across multiple subdomains

Created 13 years ago by ianaré, updated 13 years ago by ianaré.

This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

29 0
37 followers
Viewed: 64 227 times
Version: 1.1
Category: How-tos

Include Yii framework in a Joomla module

Created 13 years ago by zaccaria, updated 13 years ago by Anupam.

Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

8 2
17 followers
Viewed: 34 918 times
Version: 1.1
Category: How-tos

javascript + tabular input

Created 13 years ago by zaccaria, updated 11 years ago by Maurizio Domba Cerin.

If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

13 1
25 followers
Viewed: 39 193 times
Version: 1.1
Category: How-tos

Run an Yii Application inside an Wordpress page

Created 13 years ago by Paul Apostol, updated 13 years ago by Paul Apostol.

Create a folder where to place an Yii app under wordpress folder (mine is "yii')

12 0
14 followers
Viewed: 38 695 times
Version: 1.1
Category: How-tos

How to use a Widget as an Action Provider

Created 13 years ago by Antonio Ramirez, updated 8 years ago by stinkytofu.

All done, now we can call all the actionProvider actions as controllerID/actionPrefix.actionID. Here is the example:

24 0
41 followers
Viewed: 59 777 times
Version: 1.1
Category: How-tos

yii vim eclimd how it works

Created 13 years ago by RusAlex, updated 12 years ago by RusAlex.

I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.

8 0
8 followers
Viewed: 12 861 times
Version: 1.1
Category: How-tos
Tags: eclimd, vim, vimrc

Cookie management in Yii

Created 13 years ago by Trejder, updated 11 years ago by resurtm.

Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

38 1
40 followers
Viewed: 192 985 times
Version: 1.1
Category: How-tos

Using Yii with Nginx and PHP-FPM

Created 13 years ago by Leric, updated 12 years ago by grigori.

This config is built on an Ubuntu 11.04 server. Software is nginx, php-fpm (php5-fpm). For performance, it's recommended to run php-fpm in SOCKET mode, instead of accessing via IP:PORT. That is the method shown below.

18 0
20 followers
Viewed: 108 492 times
Version: 1.1
Category: How-tos

Keeping a running total in a CGridView

Created 13 years ago by Steve Friedl, updated 12 years ago by tydeas_dr.

This tip created in conjunction with IRC #yii channel users emilsedgh and tydeas - thanks!

22 0
19 followers
Viewed: 41 604 times
Version: 1.1
Category: How-tos
Tags: CGridView

How to use Smarty renderer in Yii

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

At first, create a class named SmartyRenderer under application/components or any directory you want.

3 0
7 followers
Viewed: 22 612 times
Version: 1.1
Category: How-tos

CGridView and AjaxForm Connect

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

<?php $this->widget('zii.widgets.grid.CGridView', array(

'dataProvider' => $dataprovider,
'id'=>'recipient_table',
    'selectionChanged'=>'updateEditForm',
'columns' => array(
	'rec_id',
            'org.nachname',
            'org.vorname',
            'org_id',
            array(
                'class'=>'CButtonColumn',
                'template'=>'{...
1 0
10 followers
Viewed: 27 371 times
Version: 1.1
Category: How-tos

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 13 years ago by xrx, updated 11 years ago by xrx.

Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

23 0
29 followers
Viewed: 51 569 times
Version: 1.1
Category: How-tos

Updating fields on a form with Ajax and Json

Created 13 years ago by Russell England, updated 13 years ago by Russell England.

I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

10 0
22 followers
Viewed: 95 270 times
Version: 1.1
Category: How-tos

caching controllers with filters()

Created 13 years ago by RusAlex, updated 13 years ago by Maurizio Domba Cerin.

Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was

2 0
8 followers
Viewed: 17 701 times
Version: 1.1
Category: How-tos

Create your own Validation Rule

Created 12 years ago by nickcv, updated 11 years ago by Gismo.

Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.

59 0
54 followers
Viewed: 272 182 times
Version: 1.1
Category: How-tos