Wiki

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

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

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

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created 2 years ago by le_topTips0 comments – viewed 7,331 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

Catching bounce messages (NDR) and piping them to a Yii command

Created 2 years ago by bennounaTutorials0 comments – viewed 7,324 times – ( +2 ) – version 1.1
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

Yii tinymce结合syntaxHighlighter和syntax

Created 4 years ago by Darwin WenTutorials0 comments – viewed 7,321 times – ( +1 ) – version 1.1
首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,

Using phpseclib with Yii

Created 2 years ago by nkdHow-tos8 comments – viewed 7,285 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

Update related models of a model using listBox and checkBoxList in the form

Created 11 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,182 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

Escape from Default's Yii2 Delete Confirm Box

Created about a year ago by Antonio RamirezHow-tos8 comments – viewed 7,154 times – ( +6 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

Make theme and layout option in your site

Created about a year ago by Narender NegiHow-tos0 comments – viewed 7,135 times – ( +1 )
Here i am writing code how to add option of theme change and layout change in your website.
tags: theme, layouts

Login Form With email or Whatever

Created about a year ago by nabil abdoualiHow-tos1 comment – viewed 7,107 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

BaseModuleAR class with MultiActiveRecord

Created 3 years ago by dinhtrungTips0 comments – viewed 7,103 times – ( +2 ) – version 1.1
MultiActiveRecord is an extension that add support for multiple database connection for your application.