Articles in category "tutorials", sorted by date (updated)X
Displaying 251-255 of 255 result(s).

Simplified meta tags

Updated 7 years ago by Y!!Tutorials5 comments – viewed 44,688 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 8 years ago by phirasTutorials2 comments – viewed 10,164 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 8 years ago by killermonkTutorials0 comments – viewed 16,395 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,527 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 9 years ago by mishhhTutorials1 comment – viewed 9,919 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.