Wiki

Sorted by commentsX
Displaying 401-410 of 469 result(s).

Using the jqueryslidemenu plugin with CMenu

Created 2 years ago by Antonio RamirezHow-tos0 comments – viewed 20,655 times – ( +18 / -1 )
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

Working with radiobutton list

Created 10 months ago by vibhaJadwaniTutorials0 comments – viewed 12,819 times – ( +8 )
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

Extending CActiveForm for some form display fixes and language tweaks

Created 2 years ago by TrejderTips0 comments – viewed 8,484 times – ( +5 )
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

Yii Related Sites

Created 2 years ago by jacmoeOthers0 comments – viewed 31,378 times – ( +31 )
This is a list of blogs, off-site tutorials and other resources about Yii.

Alternative wildcard characters CDbCriteria

Created 10 months ago by maigretHow-tos0 comments – viewed 2,943 times – ( +1 )
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

Yii and XAMPP server on Windows

Created 2 years ago by TrejderTutorials0 comments – viewed 28,461 times – ( +3 )
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.
tags: windows, xampp, server

Extending CJuiDialog

Created 10 months ago by dstudioHow-tos0 comments – viewed 5,182 times – ( +2 / -2 )
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

Yii behind a reverse proxy, SSL support and correct IP logging

Created 9 months ago by mrkmgTips0 comments – viewed 2,626 times
If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

Changing Controllers Name

Created 2 years ago by TrejderHow-tos0 comments – viewed 8,003 times – ( +4 )
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.

The MrFisk IRC Bot

Created 9 months ago by rAWTAZOthers0 comments – viewed 5,209 times – ( +5 )
MrFisk is a sleek little bot hanging out in the official #yii IRC channel on freenode, meant to serve Yii users with documentation lookups and other things. This document intends to provide a summary of what MrFisk can do for you and how to use his fin^H^Heatures.
tags: MrFisk, YiiBot, IRC, bot