Articles in category "tutorials", sorted by date (updated)X
Displaying 1-10 of 254 result(s).

Working with relational removals by yii2

Updated 2 months ago by AndroideLPTutorials0 comments – viewed 3,059 times – version 2.0
This tutorial shows you how to safely and safely remove relationships between relationships and multiple lines.

How to create/update a model with its related items using Listbox or CheckboxList

Updated 2 months ago by softarkTutorials1 comment – viewed 10,540 times – ( +4 ) – version 2.0
Assume we have many categories and many posts.

Optimize Scenarios for yii2

Updated 3 months ago by AndroideLPTutorials0 comments – viewed 4,945 times – version 2.0
Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Updated 3 months ago by Amjad KhanTutorials1 comment – viewed 5,489 times – ( +4 ) – version 2.0
Following is the table structure

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Updated 4 months ago by emraldTutorials4 comments – viewed 3,567 times – version 2.0
Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

Installation guide: Yii-2 advanced template with RBAC system

Updated 6 months ago by Sherin JoseTutorials1 comment – viewed 18,545 times – ( +12 / -2 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

YII2: Create console commands inside a module or extension

Updated 8 months ago by MetaCrawlerTutorials5 comments – viewed 18,324 times – ( +4 ) – 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

CJuiDialog to create new model

Updated 9 months ago by Maurizio Domba CerinTutorials53 comments – viewed 95,865 times – ( +68 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

By Example: CHtml

Updated 10 months ago by gliciousTutorials15 comments – viewed 814,707 times – ( +117 / -1 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Updated 11 months ago by softarkTutorials0 comments – viewed 10,380 times – ( +4 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.