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) Add a fancy-box extension on admin page
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 tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.
To use jui auto complete widget first add
namespace app\components;
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';
This tutorial shows you how to safely remove records between relationships.
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..
Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.
composer update
does not fetch any new packages (even though the source is updated)composer update
.composer update
earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.