Wiki

Sorted by date (updated)X
Displaying 371-380 of 469 result(s).

Using Pear Mail Mail_Mime and Mail_Queue

Updated 2 years ago by LorenHow-tos2 comments – viewed 5,686 times – ( +7 )
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

Logout CSRF Protection

Updated 2 years ago by Rodrigo CoelhoTutorials1 comment – viewed 9,273 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.

Converting an Artisteer Theme to Yii

Updated 2 years ago by bgleeHow-tos3 comments – viewed 14,956 times – ( +9 )
There are two approaches to converting an Artisteer theme. The first is to simply copy an existing Artisteer – based Yii theme, overlay the CSS and images, then make any necessary tweaks to the layout files. This is undoubtedly the fastest route, but won't teach you as much as doing it from scratch. That's ok. Sometimes getting the job done is the top priority. The second approach is more general and will apply to some extent to other HTML templates that you may want to convert. I'll be covering the first approach in detail, while the second will be more of a general discussion.

CListView AJAX filtering

Updated 2 years ago by DragaTutorials14 comments – viewed 28,361 times – ( +14 )
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Syntax check

Updated 2 years ago by Russell EnglandTips2 comments – viewed 4,477 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

Keeping a running total in a CGridView

Updated 2 years ago by tydeas_drHow-tos3 comments – viewed 15,264 times – ( +21 )
This tip created in conjunction with IRC #yii channel users emilsedgh and tydeas - thanks!
tags: CGridView

Using Yii with Oracle through PDO

Updated 2 years ago by waterloomattTips3 comments – viewed 18,076 times – ( +1 )
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

A simple action for XUpload extension

Updated 2 years ago by tydeas_drTips1 comment – viewed 9,724 times – ( +3 )
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

Relations: BELONGS_TO versus HAS_ONE

Updated 2 years ago by Maurizio DombaFAQs6 comments – viewed 38,383 times – ( +58 )
It's very common to see new Yii users confusing the relations HAS_ONE and BELONGS_TO, and getting it wrong means you won't get proper values back. And though we'll talk about HAS_MANY as well, we're specifically omitting the MANY_MANY relation because it's a whole different animal.

Yii实战中8个必备常用的扩展,模块和

Updated 2 years ago by Darwin WenTips2 comments – viewed 11,526 times – ( +2 / -3 )
在经过畅K网的实战后,总结一下在Yii的项目中会经常用到的组件和一些基本的使用方法,分享给大家,同时也给自己留个备忘录,下面我以代码加图片说明.
tags: module, Widgets