Wiki

Displaying 451-460 of 746 result(s).

AssetManager: clearing browser's cache on site update

Created 3 years ago by dhampikHow-tos4 comments – viewed 26,405 times – ( +19 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

Simple Share Widget for Facebook, twitter and google+

Created 3 years ago by softarkHow-tos4 comments – viewed 16,671 times – ( +10 ) – version 1.1
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.

CGridView keep focus on the control after filtering

Created 3 years ago by jayalaHow-tos4 comments – viewed 8,420 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Collaborative software with git

Created 3 years ago by sensorarioTutorials0 comments – viewed 6,174 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.

Starting your Yii Project Reference Guide (with Git VCS in Linux)

Created 3 years ago by marcanuyTutorials5 comments – viewed 25,821 times – ( +18 ) – version 1.1
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

Exporting CGridView results to CSV file

Created 3 years ago by RusAlexTutorials9 comments – viewed 34,504 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 extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Created 3 years ago by c@cbaHow-tos3 comments – viewed 10,263 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.

Setting application parameters dynamically in the back-end

Created 3 years ago by PablovpTutorials6 comments – viewed 31,725 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.

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 3 years ago by c@cbaHow-tos3 comments – viewed 27,486 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

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

Created 3 years ago by c@cbaHow-tos0 comments – viewed 9,447 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.