Wiki

Sorted by date (updated)X
Displaying 781-786 of 786 result(s).

Using CJuiDialog to display flash Messages in Dialogues

Updated 7 years ago by thyseusTutorials2 comments – viewed 23,465 times – ( +11 / -1 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

Simplified meta tags

Updated 7 years ago by Y!!Tutorials5 comments – viewed 44,047 times – ( +13 / -1 ) – version 1.1
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

XSS safe model content

Updated 7 years ago by phirasTutorials2 comments – viewed 10,001 times – ( +4 / -1 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

How to make customizable Db Table prefixes using ActiveRecord

Updated 7 years ago by killermonkTutorials0 comments – viewed 16,093 times – ( -1 ) – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

Integrating with other frameworks

Updated 8 years ago by KJediTutorials4 comments – viewed 22,249 times – ( +5 / -2 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Q: My yiic tool cannot run model and crud commands. Why?

Updated 8 years ago by mishhhTutorials1 comment – viewed 9,754 times – ( -1 ) – version 1.1
Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.