Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 121-130 of 172 result(s).

Multilanguage web site controlling by get request and database allowed languages

Updated about a year ago by reiTutorials2 comments – viewed 12,050 times – ( +6 )
First, you have to have create database table for default language and allowed languages.

Configuring CWebLogRoute for DB profiling

Updated about a year ago by Igor IvanovicTutorials1 comment – viewed 9,163 times – ( +3 )
/index.php /protected/config/main.php
tags: logger, profiler, db

Caching the config main.php

Updated about a year ago by dckurushinTutorials10 comments – viewed 7,940 times – ( +4 / -1 )
The config long array included every time, and it's not cached at all!

Avoiding duplicate script download when using CActiveForm on Ajax calls

Updated about a year ago by Maurizio DombaTutorials2 comments – viewed 9,985 times – ( +11 / -1 )
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

三步使用cronjobs自动化去执行Yii 控制台任务

Updated about a year ago by Darwin WenTutorials0 comments – viewed 4,447 times – ( +1 / -4 )
这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

Update/delete model with CJuiDialog (works in CGridView)

Updated about a year ago by ifdatticTutorials6 comments – viewed 31,235 times – ( +14 )
This is based on this article.

CJuiDialog and AjaxSubmitButton

Updated about a year ago by phazeiTutorials18 comments – viewed 59,998 times – ( +32 / -2 )
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX

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

Updated 2 years ago by Rodrigo CoelhoTutorials0 comments – viewed 4,328 times – ( +2 / -1 )
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.

Logout CSRF Protection

Updated 2 years ago by Rodrigo CoelhoTutorials1 comment – viewed 9,282 times – ( +10 )
CSRF is the acronymn for Cross-site request forgery. It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.