Wiki

Sorted by ratingX
Displaying 341-350 of 777 result(s).

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 2 years ago by edoardo849How-tos2 comments – viewed 10,728 times – ( +6 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

Quick Tip about Pagination Params

Created 5 years ago by Antonio RamirezTips2 comments – viewed 28,559 times – ( +6 ) – version 1.1
Developing custom Grids and ListViews for my new CMS I was facing a small challenge: If I was to update/delete/batch delete items of my Grid, how would I return to the current page view?
tags: Pagination

Yii code completion and calltips in Komodo Edit

Created 5 years ago by viterTips1 comment – viewed 11,482 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

CJuiTabs Content

Created 3 years ago by mbalaTips3 comments – viewed 14,093 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Fixing extensions without modifying their code

Created 3 years ago by schmunkTips3 comments – viewed 8,926 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created 2 years ago by Louis GacTutorials1 comment – viewed 9,959 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

View a related field in CGridView

Created 2 years ago by rafaelt88Tips1 comment – viewed 9,624 times – ( +6 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

Multilanguage web site controlling by get request and database allowed languages

Created 5 years ago by Igor IvanovicTutorials2 comments – viewed 21,022 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

How to implement an event and attach it in a behavior

Created 3 years ago by seb7How-tos0 comments – viewed 16,385 times – ( +6 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

How to implement form events

Created 2 years ago by Antonio RamirezHow-tos4 comments – viewed 13,380 times – ( +6 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to