Wiki

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

Converting an Artisteer Theme to Yii

Updated 2 years ago by bgleeHow-tos3 comments – viewed 14,914 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,217 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,463 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,218 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 17,975 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,701 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,121 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,468 times – ( +2 / -3 )
在经过畅K网的实战后,总结一下在Yii的项目中会经常用到的组件和一些基本的使用方法,分享给大家,同时也给自己留个备忘录,下面我以代码加图片说明.
tags: module, Widgets

Yii tinymce结合syntaxHighlighter和syntax

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

How to avoid multiple Ajax Request

Updated 2 years ago by nickcvHow-tos11 comments – viewed 19,212 times – ( +13 )
CHtml::ajaxLink(), CHtml::ajaxSubmitButton() and similar methods are great, but if they are located inside a portion of the page that is already loaded via ajax something bad will happen, something you may even not notice if you are not using tools like firebugs: the sent ajax requests will multiply themselves.