Displaying 601-610 of 779 result(s).

Converting an Artisteer Theme to Yii

Created 5 years ago by bgleeHow-tos3 comments – viewed 25,029 times – ( +9 ) – version 1.1
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.

How to write a simple application component

Created 5 years ago by zaccariaHow-tos5 comments – viewed 54,002 times – ( +20 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

How to generate Yii-like Documentation

Created 5 years ago by AsgarothHow-tos9 comments – viewed 32,149 times – ( +46 ) – version 1.1
Something a good application cant miss is documentation, and what would be better than some nice formatted HTML documentation that can be auto-generated from your code, we know several tools that already do this like phpDocumentor, but today we are introducing Yii Docs Generator which is a modification of the code that Yii itself uses to generate its documentation, thank phpnode for this wonderful work.
tags: doc

CListView AJAX filtering

Created 5 years ago by DragaTutorials17 comments – viewed 61,464 times – ( +17 ) – version 1.1
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

Created 5 years ago by Russell EnglandTips2 comments – viewed 8,177 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

Using International Dates

Created 5 years ago by Russell EnglandHow-tos4 comments – viewed 37,026 times – ( +18 ) – version 1.1
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post

A simple action for XUpload extension

Created 5 years ago by tydeas_drTips1 comment – viewed 15,290 times – ( +3 ) – version 1.1
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

Created 5 years ago by Steve FriedlFAQs9 comments – viewed 117,011 times – ( +69 ) – version 1.1
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.


Created 5 years ago by Darwin WenTips2 comments – viewed 28,082 times – ( +2 / -3 ) – version 1.1
tags: module, Widgets

Yii tinymce结合syntaxHighlighter和syntax

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