Wiki

Sorted by date (updated)X
Displaying 661-670 of 696 result(s).

Using setFlash for displaying various kind of messages

Updated 3 years ago by TrejderHow-tos6 comments – viewed 42,335 times – ( +4 / -5 ) – version 1.1
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
tags: flash, error, message

Styling Radio Buttons

Updated 3 years ago by Steve FriedlTips4 comments – viewed 36,230 times – ( +15 ) – version 1.1
The default behavior with radio button lists is ugly, and I figured out mostly how to style them a coupla different ways. I'll used the blog tutorial example (but with my own posting modes):

Multiple Databases and Multiple Domains

Updated 3 years ago by Maurizio Domba CerinTutorials2 comments – viewed 30,425 times – ( +14 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

How To Customize CMenu Output

Updated 3 years ago by AngeloTutorials7 comments – viewed 50,909 times – ( +10 ) – version 1.1
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Using the jqueryslidemenu plugin with CMenu

Updated 3 years ago by pc131How-tos0 comments – viewed 27,118 times – ( +18 / -1 ) – version 1.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.

Directory independent extensions

Updated 3 years ago by GOshaTips3 comments – viewed 8,571 times – ( +15 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

Adding Yii Search to Your Browser Search Box

Updated 3 years ago by GOshaTips1 comment – viewed 31,974 times – ( +28 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search

Add charts / print buttons to your webapp

Updated 3 years ago by CoLTTutorials3 comments – viewed 20,822 times – ( +7 ) – version 1.1
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
tags: chart, print, flash, excel, csv, pdf, xls

Code style

Updated 3 years ago by g3ck0Tips2 comments – viewed 13,669 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

Yii and XAMPP server on Windows

Updated 3 years ago by TrejderTutorials0 comments – viewed 46,211 times – ( +3 ) – version 1.1
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