Wiki

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

How to add an analogue clock widget on your skeleton application

Created 4 years ago by mocapapaTutorials0 comments – viewed 6,591 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,586 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,577 times – ( +5 ) – version 1.1
Hi friends,

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

Created 8 months ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 6,535 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 ?

TimeZone dropDown

Created 2 years ago by Tibor KatelbachHow-tos0 comments – viewed 6,514 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,513 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

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

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

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

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,491 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.

Write & use a custom Component in Yii2.0

Created 5 months ago by sirin kHow-tos2 comments – viewed 6,446 times – ( +11 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 6,422 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.