Wiki

Sorted by date (updated)X
Displaying 531-540 of 718 result(s).

Using Yii with PHP 5.4 built-in webserver instead of Apache

Updated 2 years ago by samdarkHow-tos1 comment – viewed 9,646 times – ( +21 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

Front-end developer's guide

Updated 2 years ago by waitekkTutorials5 comments – viewed 21,952 times – ( +11 ) – version 1.1
This wiki is a work in progress.

Collaborative software with git

Updated 2 years ago by Maurizio Domba CerinTutorials0 comments – viewed 5,850 times – ( +9 ) – version 1.1
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.

How to extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Updated 2 years ago by c@cbaHow-tos3 comments – viewed 9,632 times – ( +9 ) – version 1.1
As you know, the CDetailView widget displays details of a single model. If no formatting is specified, boolean values that are stored in the database as 0 and 1, are represented in the detail view as 0 and 1. If formatted as boolean, they are represented as 'No' and 'Yes'. We want to add i18n support, so that Yes and No appear in the current language.

Exporting CGridView results to CSV file

Updated 2 years ago by RusAlexTutorials9 comments – viewed 31,638 times – ( +6 / -3 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

How to obtain a grammatically correct translation of the model name in giix-generated view files

Updated 2 years ago by c@cbaHow-tos0 comments – viewed 8,891 times – ( +4 ) – version 1.1
The giix code generator has out of the box i18n support for model names and attribute labels (besides other cool features > check it out!) . But I want to factor in not only the plural form, but also the grammatical cases (especially the accusative) while translating 'Manage Objects', 'Create Object', 'Edit Object' etc.

Setting application parameters dynamically in the back-end

Updated 2 years ago by PablovpTutorials6 comments – viewed 30,019 times – ( +12 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

X-Sendfile - serve large static files efficiently from web applications

Updated 2 years ago by Maurizio Domba CerinHow-tos5 comments – viewed 42,408 times – ( +26 ) – version 1.1
Normally when we want users to download a file, that file is put in a folder under the web application root and the web server does the rest.

Multiple file upload handler

Updated 2 years ago by hasanaviTutorials2 comments – viewed 20,354 times – ( +6 ) – version 1.1
Hi,

How to handle decimal separators (e.g comma instead of dot) for l18n

Updated 2 years ago by jpabloHow-tos2 comments – viewed 12,175 times – ( +2 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.