Wiki articles

Showing 21-40 of 165 items.

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 12 years ago by Charles R. Portwood II, updated 11 years ago by Vivek.

By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.

7 6
21 followers
Viewed: 312 872 times
Version: 2.0
Category: Tutorials

How to learn Yii?!

Created 13 years ago by yJeroen, updated 5 years ago by CeBe.

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 123 494 times
Version: all
Category: Tutorials

Load data from internal/external source to fill form fields

Created 10 years ago by skworden, updated 10 years ago by skworden.

This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

1 0
5 followers
Viewed: 36 686 times
Version: 2.0
Category: How-tos

Simple Jui Autocomplete in yii2

Created 9 years ago by ajith, updated 9 years ago by ajith.

To use jui auto complete widget first add

0 0
3 followers
Viewed: 53 111 times
Version: 2.0
Category: Tutorials

How to use GridView with AJAX

Created 11 years ago by Antonio Ramirez, updated 7 years ago by CeBe.

With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.

10 0
15 followers
Viewed: 88 353 times
Version: 2.0
Category: How-tos
Tags: pjax, widget, yii2

Managing your nested dropdown dependency with DepDrop widget

Created 11 years ago by Kartik V, updated 11 years ago by Kartik V.

If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

2 3
42 followers
Viewed: 90 543 times
Version: 2.0
Category: Tutorials

Building a REST API in Yii2.0

Created 10 years ago by sirin k, updated 8 years ago by Maurizio Domba Cerin.

This is wiki page is useful if you are trying to build a customized REST API in Yii2.0

4 0
16 followers
Viewed: 152 679 times
Version: 2.0
Category: Tutorials

How to send email via Gmail SMTP in Yii2 framework

Created 3 years ago by Bartosz Wójcik, updated 3 years ago by Bartosz Wójcik.

One of my sites has been flooded with spam bots and as a result - Gmail gave my mailing domain a bad score and I couldn't send emails to @gmail addresses anymore, not from my email, not from my system, not from any of other domains and websites I host...

3 1
4 followers
Viewed: 100 037 times
Version: 2.0
Category: How-tos

Moving the vendor directory for multiple projects

Created 10 years ago by mariosimaremare, updated 10 years ago by mariosimaremare.

This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

5 0
5 followers
Viewed: 32 911 times
Version: 2.0
Category: How-tos

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 10 years ago by softark, updated 6 years ago by softark.

This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

13 0
14 followers
Viewed: 108 848 times
Version: 2.0
Category: Tutorials

Simple way to implement Dynamic Tabular Inputs

Created 10 years ago by ezekielnoob, updated 6 years ago by samdark.

grid

4 0
10 followers
Viewed: 85 558 times
Version: 2.0
Category: Tutorials

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

Created 9 years ago by softark, updated 7 years ago by softark.

Assume we have many categories and many posts.

5 0
6 followers
Viewed: 89 600 times
Version: 2.0
Category: Tutorials

Boost composer-asset-plugin update speed

Created 9 years ago by schmunk, updated 8 years ago by samdark.

If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

6 0
6 followers
Viewed: 30 220 times
Version: 2.0
Category: Tips

An alternative way to ElasticSearch

Created 7 years ago by Necip, updated 2 years ago by Necip.

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2 followers
Viewed: 43 888 times
Version: all
Category: How-tos

Creating a Dependent Dropdown From Scratch in Yii2

Created 11 years ago by ThePr0f3550r, updated 7 years ago by alrazi.

I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I can't implement it in Yii2 because Yii2 does not have built-in AJAX functionality hem.. I searched about it and came across this post

4 1
12 followers
Viewed: 164 266 times
Version: 2.0
Category: How-tos

Write & use a custom Component in Yii2.0

Created 10 years ago by sirin k, updated 8 years ago by Maurizio Domba Cerin.

This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

14 0
11 followers
Viewed: 126 546 times
Version: 2.0
Category: How-tos

Yii2 - Upgrading to Bootstrap 4

Created 5 years ago by Richard Pillay, updated 5 years ago by Richard Pillay.

Yii2 - Converting from Bootstrap3 to Bootstrap4

12 0
6 followers
Viewed: 112 156 times
Version: 2.0
Category: How-tos

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 10 years ago by robregonm, updated 10 years ago by robregonm.

By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

9 0
6 followers
Viewed: 36 459 times
Version: 2.0
Category: How-tos

How to add a DropDown Language Picker (i18n) to the Menu

Created a year ago by JQL, updated a year ago by JQL.

Yii comes with internationalisation (i18n) "out of the box". There are instructions in the manual as to how to configure Yii to use i18n, but little information all in one place on how to fully integrate it into the bootstrap menu. This document attempts to remedy that.

1 0
1 follower
Viewed: 83 058 times
Version: 2.0
Category: How-tos

How to install Yii 2 advanced on a shared hosting environment

Created 9 years ago by oligalma, updated 5 years ago by oligalma.

I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

3 0
2 followers
Viewed: 36 904 times
Version: 2.0
Category: How-tos