Wiki

Sorted by date (updated)X
Displaying 681-690 of 741 result(s).

Run an Yii Application inside an Wordpress page

Updated 4 years ago by Paul ApostolHow-tos3 comments – viewed 20,719 times – ( +12 ) – version 1.1
Install a Wordpress site (mine is in "http://localhost/test/wordpress")

Include Yii framework in a Joomla module

Updated 4 years ago by AnupamHow-tos7 comments – viewed 22,875 times – ( +8 / -1 ) – version 1.1
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

htmlOptions explained for various controls.

Updated 4 years ago by WoilTips1 comment – viewed 45,669 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 4 years ago by lucifuriousTips3 comments – viewed 20,720 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 4 years ago by ianarĂ©How-tos9 comments – viewed 32,955 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 4 years ago by Maurizio Domba CerinTutorials3 comments – viewed 45,212 times – ( +9 / -1 ) – 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 4 years ago by WoilTutorials2 comments – viewed 26,950 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 4 years ago by Steve FriedlFAQs3 comments – viewed 47,287 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 4 years ago by GustavoHow-tos1 comment – viewed 12,170 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 4 years ago by Steve FriedlHow-tos3 comments – viewed 17,810 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