Once you are completed with the "Creating First Yii Application", the following can be done.
Once you are completed with the "Creating First Yii Application", the following can be done.
Example settings when using Gettext for i18n.
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.
How to display status image on admin gridview.
1) include the fancybox extesion otherwise fancybox js
Yii's ActiveRecord classes are powerful, but they fall short when you want to have a configurable table prefix for your application.
This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :
public function scopeUnused( $useAnd = true )
{
$join = " left outer join composed_by j on t.ID = j.ID ";
$condition = ' j.ID Is Null';
Hello Yii friends
Purpose
Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.
hai teman yii... apa kabar.. kembali lagi bersama catatan saya..
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,
Simple Yii Script for performing CRUD operations:
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.
这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。
Hi Friends,