Wiki articles

Showing 161-180 of 651 items.

[PT-BR] Proteção Contra Logout CSRF

Created 12 years ago by Rodrigo Coelho, updated 12 years ago by Rodrigo Coelho.

CSRF é o acrônimo para Cross-site request forgery.
CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

2 1
3 followers
Viewed: 13 590 times
Version: 1.1
Category: Tutorials

Ajax form submiting in Yii

Created 11 years ago by sirin k, updated 6 years ago by Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 167 861 times
Version: 1.1
Category: Tutorials

Yii Security-extended guide

Created 12 years ago by bingjie2680, updated 12 years ago by bingjie2680.

This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in you...

6 6
12 followers
Viewed: 30 537 times
Version: 1.1
Category: Tips

Using setFlash for displaying various kind of messages

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

In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.

5 4
6 followers
Viewed: 91 710 times
Version: 1.1
Category: How-tos

Ativando temas no Zii Widgets

Created 12 years ago by Ivan Wilhelm, updated 12 years ago by Ivan Wilhelm.

Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

4 2
4 followers
Viewed: 12 319 times
Version: 1.1
Category: Tutorials

How to setup FCKeditor

Created 15 years ago by krillzip, updated 11 years ago by Dark-Sun.

Next to do is to download the Yii FCKeditor extension, created by Ascomae. Extract the downloaded file, and place the fckeditor/ widget folder in your web applications protected/extensions/ directory.

3 1
5 followers
Viewed: 30 830 times
Version: 1.1
Category: Tutorials
Tags:

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 111 times
Version: 1.1
Category: Tutorials

How to access a component of a module from within the module itself

Created 14 years ago by OriginalCopy, updated 11 years ago by Roman Solomatin.

The Yii documentation states:

3 1
7 followers
Viewed: 59 745 times
Version: 1.1
Category: Tutorials
Tags: module

Adding login form to each page

Created 14 years ago by pestaa, updated 11 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 49 367 times
Version: 1.1
Category: Tutorials

Caching strategy

Created 10 years ago by darkheir, updated 9 years ago by CeBe.

Note: Before reading this wiki you should have read the caching part in the Yii guide

3 1
12 followers
Viewed: 11 760 times
Version: 1.1
Category: How-tos

How to hide `index` action from URL

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

Here is my experiment inspired by my own question and others from the forum.

3 1
9 followers
Viewed: 24 586 times
Version: 1.1
Category: How-tos
Tags: index

ChromePHP for Yii

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

ChromePHP is a console logging extension for Google Chrome.

3 1
4 followers
Viewed: 18 264 times
Version: 1.1
Category: Tips

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

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

I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

3 1
6 followers
Viewed: 31 084 times
Version: 1.1
Category: How-tos

Twitter Bootstrap style Breadcrumbs

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

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 53 892 times
Version: 1.1
Category: How-tos

Using CJuiDialog to edit rows in a CGridView

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

I used Zaccarias excellent article as the base http://www.yiiframework.com/wiki/145/cjuidialog-for-create-new-model/

Solution

First follow the wiki above to create all the required code. Then make the following modifications in your...

3 1
11 followers
Viewed: 41 311 times
Version: 1.1
Category: Tips

Open Dialog from ajax content

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

This is the code in the View.

<?php echo CHtml::link('MyDialog', Yii::app()->createUrl('site/page'), array('class' => 'openDlg divDialog')); ?>
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array('id'=>'divDialog',
	'options'=>array( 'title'=>Yii::t('Dialog Title', 'autoOpen'=>false, 'modal'=>true, 'width'=>600)));
?>
	<div class="divForForm"></div>
<?php
$this->endWidget(...
3 1
5 followers
Viewed: 24 227 times
Version: 1.1
Category: How-tos

Shrink Yii, help your IDE and speed up copying

Created 12 years ago by dckurushin, updated 12 years ago by dckurushin.

yii-1.1.8.r3324 framework directory is 10.4 mb size.

9 8
16 followers
Viewed: 14 045 times
Version: 1.1
Category: Tips

Yii Rights Management Tips

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

yii rights some tips..

2 0
4 followers
Viewed: 13 183 times
Version: 1.1
Category: Tips

How to setup yiic on WAMP (XP/Vista)

Created 15 years ago by krillzip, updated 11 years ago by Yang He.

This page assumes that you have installed Wampserver on your MS Windows computer.

2 0
5 followers
Viewed: 93 515 times
Version: 1.1
Category: Tutorials
Tags: