Showing 161-180 of 652 items.

Yii Security-extended guide

Created 14 years ago by bingjie2680 bingjie2680, updated 14 years ago by bingjie2680 bingjie2680. 11 comments

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
Viewed: 37 946 times
Version: 1.1
Category: Tips

How to setup FCKeditor

Created 17 years ago by krillzip krillzip, updated 14 years ago by Dark-Sun Dark-Sun. 2 comments

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
Viewed: 40 884 times
Version: 1.1
Category: Tutorials

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

    Created 13 years ago by skworden skworden, updated 13 years ago by skworden skworden. 4 comments

    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.

    Open Dialog from ajax content

    Created 13 years ago by Touzas Touzas, updated 13 years ago by Touzas Touzas. 1 comment

    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
    Viewed: 27 228 times
    Version: 1.1
    Category: How-tos