Wiki

Sorted by commentsX
Displaying 601-610 of 732 result(s).

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,220 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.

Collaborative software with git

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

Using the configuration file, explain what can be configured.

Created 5 years ago by atrandafirTutorials0 comments – viewed 51,262 times – ( +20 ) – version 1.1
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.

Multi Data Provider

Created about a year ago by Sharon LavieTips0 comments – viewed 6,185 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

Deploy yii on pagoda box

Created 2 years ago by francis jaTutorials0 comments – viewed 6,798 times – ( +4 ) – version 1.1
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
tags: pagodabox, pagoda

Create a custom menu using CMenu data-items (flat or tree structure)

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 12,519 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

i18n for your model in just 1 line

Created 5 years ago by mintaoTutorials0 comments – viewed 11,844 times – ( +12 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

Widget Personalizado

Created 2 years ago by CálcioTutorials0 comments – viewed 6,305 times – ( +6 ) – version 1.1
Here I will explain with the clear way and objective an use the widget with CDataProvider.

thumbsgen and Kohana Image Library together (extends an extension)

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 3,206 times – ( +2 )
In this wiki I will show you how to extends an extension and/or how can two or more extensions work together.

Set a menu - reusable code

Created about a year ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 4,337 times – ( +1 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)