Wiki

Sorted by commentsX
Displaying 531-540 of 782 result(s).

How to install Yii 2 advanced on a shared hosting environment

Created about a year ago by oligalmaHow-tos1 comment – viewed 11,077 times – ( +3 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

BUM - Add Additional Info to a User

Created 3 years ago by fireflyHow-tos1 comment – viewed 16,675 times – ( +1 ) – version 1.1
How to add additional information to a user when using BUM extension?

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 12,038 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

Multilanguage and SEO friendly

Created 3 years ago by InterboyHow-tos1 comment – viewed 20,256 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Language Selector

Created 10 months ago by Programmer ThailandTutorials1 comment – viewed 5,442 times – ( +1 ) – version 2.0
common\components\LanguageSelector.php
tags: i18n, language, select

How to create/update a model with its related items using Listbox or CheckboxList

Created 10 months ago by softarkTutorials1 comment – viewed 9,259 times – ( +3 ) – version 2.0
Assume we have many categories and many posts.

How to change GridView delete confirmation message for specific controllers only?

Created 9 months ago by AlaFalakiTips1 comment – viewed 8,265 times – ( +2 ) – version 2.0
Hello, If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do: (I've only put the ActionColumn part of the GridView here to just give you the idea)

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 6 years ago by YetiTutorials1 comment – viewed 38,589 times – ( +2 / -1 ) – version 1.1
Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL and mainly deals with the W7 quirks.

A Single Page with a List and a Detail

Created 4 months ago by softarkHow-tos1 comment – viewed 5,814 times – ( +3 ) – version 2.0
The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.
tags: gridview, detail, ajax

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

Created 4 years ago by pckabeerHow-tos1 comment – viewed 17,666 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).