Wiki

Sorted by commentsX
Displaying 521-530 of 766 result(s).

How to have truly multilingual URLs

Created 4 months ago by oligalmaHow-tos1 comment – viewed 2,806 times – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

Simple Google Maps object for use with ajax maps

Created 4 months ago by Chris BackhouseHow-tos1 comment – viewed 3,461 times – ( +1 ) – version 2.0
The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.
tags: googlemap, maps

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 3 years ago by samdarkHow-tos1 comment – viewed 11,464 times – ( +21 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 2 years ago by InterboyHow-tos1 comment – viewed 19,840 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

How to install Yii 2 advanced on a shared hosting environment

Created 3 months ago by oligalmaHow-tos1 comment – viewed 5,295 times – ( +1 ) – 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 2 years ago by fireflyHow-tos1 comment – viewed 13,772 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 3 years ago by sebTips1 comment – viewed 10,715 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 2 years ago by InterboyHow-tos1 comment – viewed 18,203 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

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

Created 5 years ago by YetiTutorials1 comment – viewed 37,365 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.

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

Created 3 years ago by pckabeerHow-tos1 comment – viewed 16,444 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).