Wiki

Sorted by date (updated)X
Displaying 401-410 of 784 result(s).

Using CListView to display items next to each other (in columns)

Updated 3 years ago by thyseusTips4 comments – viewed 12,857 times – ( +11 )
When using CListView to display multiple views next to each other, we can use the $index variable inside the viewFile to achieve this. As far as i know there is no extension or out-of-the-box functionality for this, so we need to apply a little hack:

Turn Web HTML Into Newsletter

Updated 3 years ago by yasenHow-tos1 comment – viewed 11,244 times – ( +8 ) – version 1.1
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

Implementing a WebDAV server using SabreDAV

Updated 3 years ago by nineinchnickTutorials6 comments – viewed 23,934 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

The Comedy of Errors

Updated 3 years ago by MikeOthers3 comments – viewed 10,012 times – ( +21 ) – version 1.1
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

Changing Controllers Name

Updated 4 years ago by TrejderHow-tos0 comments – viewed 16,190 times – ( +5 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

Simple authorization system

Updated 4 years ago by GustavoHow-tos1 comment – viewed 34,293 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

How to set up Unicode

Updated 4 years ago by Roman SolomatinHow-tos10 comments – viewed 93,533 times – ( +19 ) – version 1.1
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode

Client-side form validation using Twitter Bootstrap's Popovers

Updated 4 years ago by TrejderHow-tos4 comments – viewed 36,557 times – ( +4 / -1 ) – version 1.1
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

Alternative folder structure for a standard Yii app

Updated 4 years ago by TrejderHow-tos4 comments – viewed 14,325 times – ( +5 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.