Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 141-150 of 254 result(s).

How to add a named scope to ActiveRecords with a behavior

Created 8 years ago by MikeTutorials2 comments – viewed 22,701 times – ( +4 / -1 ) – version 1.1
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

Functional Testing in Yii using Goutte and PHPUnit

Created 5 years ago by puteraTutorials2 comments – viewed 22,669 times – ( +7 / -1 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

Multi level dropdown menu in Bootstrap

Created 3 years ago by sefburhanTutorials1 comment – viewed 22,529 times – ( +38 / -1 ) – version 1.1
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps

Running applications with Docker

Created 2 years ago by schmunkTutorials1 comment – viewed 22,385 times – ( +8 / -1 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

Two Login in same form in Yii application , with two tables

Created 3 years ago by BaluTutorials6 comments – viewed 22,339 times – ( +4 / -8 ) – version 1.1
login links will be

Multilanguage web site controlling by get request and database allowed languages

Created 6 years ago by Igor IvanovicTutorials2 comments – viewed 22,232 times – ( +6 / -1 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

YII2: Create console commands inside a module or extension

Created 2 years ago by MetaCrawlerTutorials5 comments – viewed 22,080 times – ( +4 / -1 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

Save or Update Multiple related model values in one Tabular input form

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 22,044 times – ( +1 / -8 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

Integrating with other frameworks

Created 8 years ago by KJediTutorials4 comments – viewed 21,933 times – ( +5 / -2 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

First Yii App: CTabView

Created 8 years ago by meanpenguinTutorials1 comment – viewed 20,702 times – ( -3 ) – version 1.1
Once you are completed with the "Creating First Yii Application", the following can be done.