Wiki

Sorted by viewsX
Displaying 531-540 of 726 result(s).

How to add an analogue clock widget on your skeleton application

Created 4 years ago by mocapapaTutorials0 comments – viewed 6,581 times – ( +1 ) – version 1.1
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

model rules depended by user roles-permissions

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 6,555 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

CGridView customized CCheckBoxColumn

Created 11 months ago by chandranTips2 comments – viewed 6,529 times – ( +5 ) – version 1.1
Hi friends,

TimeZone dropDown

Created 2 years ago by Tibor KatelbachHow-tos0 comments – viewed 6,500 times – ( +2 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Syntax check

Created 3 years ago by Russell EnglandTips2 comments – viewed 6,499 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

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

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,480 times – ( +2 / -1 ) – version 1.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.

关于Yii CHttpSession性能优化篇之源码流程分析

Created 3 years ago by Darwin WenTips0 comments – viewed 6,478 times – ( +1 / -1 ) – version 1.1
当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

Save or Update Multiple related model values in one Tabular input form

Created 8 months ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 6,466 times – ( +1 / -6 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 6,400 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Fixing extensions without modifying their code

Created about a year ago by schmunkTips3 comments – viewed 6,273 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.