Wiki

Sorted by viewsX
Displaying 351-360 of 743 result(s).

Yiinitializr: The Library

Created 2 years ago by Antonio RamirezOthers9 comments – viewed 15,031 times – ( +15 ) – version 1.1
Introduction

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 2 years ago by pckabeerHow-tos1 comment – viewed 14,956 times – ( +7 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options. This is a rewrite of c@cba in the wiki article of enumDropdownListThe main code was contributed by zaccaria in the forum (see this post).

Logout CSRF Protection

Created 3 years ago by Rodrigo CoelhoTutorials1 comment – viewed 14,823 times – ( +10 ) – version 1.1
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.

Twitter Bootstrap style Breadcrumbs

Created 2 years ago by junaidatariHow-tos0 comments – viewed 14,814 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.

Popup AJAX DialogBox without any extension

Created about a year ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 14,804 times – ( +8 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

defaultScope

Created about a year ago by Gerhard LiebenbergHow-tos4 comments – viewed 14,774 times – ( +5 / -1 ) – version 1.1
This example includes a composite condition as well as an empty condition - as if you bypass or disable defaultScope without using resetScope().

How-To: Create Token Authenticated Web Services

Created about a year ago by hemcHow-tos1 comment – viewed 14,762 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

Code style

Created 4 years ago by zaccariaTips2 comments – viewed 14,694 times – ( +29 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Created 2 years ago by skwordenHow-tos4 comments – viewed 14,566 times – ( +4 / -1 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.