Wiki

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

htmlOptions explained for various controls.

Updated 3 years ago by WoilTips1 comment – viewed 43,965 times – ( +17 ) – version 1.1
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code:

Real Time Logging

Updated 3 years ago by lucifuriousTips3 comments – viewed 19,865 times – ( +14 ) – version 1.1
I've seen a lot of people asking about the logging facilities in Yii and thought I'd share a nice little class I wrote that provides near real-time logging.

Single sign on across multiple subdomains

Updated 3 years ago by ianaréHow-tos9 comments – viewed 30,915 times – ( +31 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

How to create nice modal login widget with a CJuiDialog

Updated 3 years ago by Maurizio Domba CerinTutorials3 comments – viewed 43,768 times – ( +9 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Eclipse PDT - code-hints, references and other goodies

Updated 3 years ago by WoilTutorials2 comments – viewed 26,356 times – ( +14 ) – version 1.1
Since PHP is dynamically typed language, the way IDE may help you is limited.
tags: IDE

"Why do I get a 403 error when trying to use Gii?"

Updated 3 years ago by Steve FriedlFAQs3 comments – viewed 44,813 times – ( +7 ) – version 1.1
After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:
tags: Gii, config

More security in your applications with Yii and PHPIDS

Updated 3 years ago by GustavoHow-tos1 comment – viewed 11,834 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Enforcing "You must agree" requirements in forms

Updated 3 years ago by Steve FriedlHow-tos3 comments – viewed 16,944 times – ( +29 ) – version 1.1
Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:
tags: validation

Yii code completion and calltips in Komodo Edit

Updated 3 years ago by weiTips1 comment – viewed 9,864 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

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

Updated 3 years ago by Rafael GarciaHow-tos0 comments – viewed 6,824 times – ( +2 / -1 ) – version 1.1
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security