Wiki

Sorted by viewsX
Displaying 391-400 of 483 result(s).

Creating HTML code using Jamboree Panels

Created 5 months ago by bluyellTutorials0 comments – viewed 4,607 times – ( +2 )

Syntax check

Created 2 years ago by Russell EnglandTips2 comments – viewed 4,589 times – ( +4 )
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

Rendering a view file in a console application

Created about a year ago by TompiHow-tos1 comment – viewed 4,573 times – ( +2 )
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

Adding a date range search for CGridView the easy way

Created 3 months ago by mikewalenTips2 comments – viewed 4,564 times – ( +7 )
After a lot of research, everything I found on adding date range searching to a CGridView advanced search form seemed to involve adding two new public variables (e.g. $date_from, $date_to), 'safe' rules for the new variables, and a rather chunky if/elseif/else check in the search() method. This probably isn't a hassle for most, but because many of the tables in my database contain two or three and sometimes four date columns (e.g. date_created, date_modified, date_deleted etc.), it meant I was having to add up to eight public variables, the corresponding safe rules, and modifying the search() criteria for each date attribute. So, I set about creating a better way and I thought I'd share my work with the community.

Yii CDBHttpSession数据库存储session性能优化实战

Created about a year ago by Darwin WenTips0 comments – viewed 4,542 times – ( +1 / -1 )
上一篇 关于 Yii CHttpSession性能优化篇之源码流程分析 有详细分析CHttpSession执行流程,在了解CHttpSession的详细执行流程之后,我们就可以非常轻松的扩展Yii Session,来优化和符合自己的业务流程。

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

Created 2 years ago by Rodrigo CoelhoTutorials0 comments – viewed 4,427 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.

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created 7 months ago by Xgamer99Tips3 comments – viewed 4,351 times – ( +1 )
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

Upload CSV File

Created 5 months ago by bhavesh vaghelaTutorials0 comments – viewed 4,328 times – ( +3 )
View file

How to hide index.php on Microsoft Windows Server with IIS7

Created 9 months ago by GiulianoHow-tos1 comment – viewed 4,316 times – ( +7 )
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

Collaborative software with git

Created about a year ago by sensorarioTutorials0 comments – viewed 4,285 times – ( +9 )
The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.