Example settings when using Gettext for i18n.
Example settings when using Gettext for i18n.
A dropdown list can be used to select a value, based on which we can filter the data to be displayed. For example, the extension page has a dropdown list to filter the displayed extensions according to the selected category.
>Highslide JS is an open source JavaScript software, offering a Web 2.0 approach to popup windows. It streamlines the use of thumbnail images and HTML popups on web pages. > > + No plugins like Flash or Java required. > + Popup blockers are no problem. The content expands within the active browser window. > + Single click. After opening the image or HTML popup, the user can scroll further down...
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
This is a simple demo how to use Zend_AMF with Yii.
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
Yii's ActiveRecord classes are powerful, but they fall short when you want to have a configurable table prefix for your application.
The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
A simple trick to get the localized version of a model field is to add this little method to your models.
$this->render('index', array(
'dataProvider' => $dataProvider,
));
`
This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.
This tutorial assumes some basic knowledge of Yii and a functional development environment.
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';
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.