Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 151-160 of 183 result(s).

Rendering a view file in a console application

Created about a year ago by TompiHow-tos1 comment – viewed 4,384 times – ( +2 )
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

Using the jamselect widget with min and max values

Created 2 years ago by got 2 doodleHow-tos0 comments – viewed 6,277 times – ( +2 )
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

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

Created 6 months ago by skwordenHow-tos4 comments – viewed 5,536 times – ( +3 / -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.

Twitter Bootstrap style Breadcrumbs

Created 3 months ago by junaidatariHow-tos0 comments – viewed 5,188 times – ( +3 / -1 )
1: Create breadcrumb in your view file.

Open Dialog from ajax content

Created 2 months ago by TouzasHow-tos1 comment – viewed 4,120 times – ( +3 / -1 )
This tutorial will show you how to create Ajax dialog. It's very simple code.

How to hide `index` action from URL

Created 11 months ago by rootbearHow-tos2 comments – viewed 6,317 times – ( +3 / -2 )
Here is my experiment inspired by my own question and others from the forum.
tags: index

A simple go back button widget

Created 7 months ago by CTalaHow-tos5 comments – viewed 6,925 times – ( +3 / -2 )
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

Using setFlash for displaying various kind of messages

Created 2 years ago by TrejderHow-tos6 comments – viewed 22,563 times – ( +4 / -4 )
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

Mais segurança em suas aplicações com Yii e PHPIDS

Created 2 years ago by Rafael GarciaHow-tos0 comments – viewed 4,732 times – ( +2 / -1 )
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security