Wiki articles tagged with "yii2"

Showing 61-77 of 77 items.
Created 4 years ago by CTala, updated 4 years ago by CTala.

Yii2 default values for Index data Provider

Guys,

1 0
5 followers
Viewed: 22 004 times
Version: 2.0
Category: Tips
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

How to read HTML5 Multiple File Input from controller?

0 2
39 followers
Viewed: 11 430 times
Version: all
Category: How-tos
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

What to do when composer fails to update your vendor packages?

  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 3
36 followers
Viewed: 23 916 times
Version: 2.0
Category: Tutorials
Created 4 years ago by robregonm, updated 4 years ago by robregonm.

Cómo enviar emails usando SMTP

2 0
2 followers
Viewed: 12 691 times
Version: 2.0
Category: How-tos
Created 4 years ago by robregonm, updated 4 years ago by robregonm.

How to send emails using SMTP

5 0
8 followers
Viewed: 76 181 times
Version: 2.0
Category: How-tos
Created 4 years ago by Antonio Ramirez, updated 3 months ago by CeBe.

How to use GridView with AJAX

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.

8 0
15 followers
Viewed: 64 634 times
Version: 2.0
Category: How-tos
Tags: pjax, widget, yii2
Created 4 years ago by Antonio Ramirez, updated 2 years ago by Cozumel.

Escape from Default's Yii2 Delete Confirm Box

If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

4 1
16 followers
Viewed: 29 971 times
Version: 2.0
Category: How-tos
Created 4 years ago by Antonio Ramirez, updated 4 years ago by Antonio Ramirez.

Displaying, Sorting and Filtering Model Relations on a GridView

One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data.

23 0
29 followers
Viewed: 214 095 times
Version: 2.0
Category: How-tos
Created 4 years ago by Antonio Ramirez, updated 4 years ago by Antonio Ramirez.

How to use BootstrapInterface

Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks. On this article, I am going to explain how to use it on y...

1 0
2 followers
Viewed: 11 140 times
Version: 2.0
Category: How-tos
Created 4 years ago by realtebo, updated 3 years ago by realtebo.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 16 190 times
Version: 2.0
Category: Tutorials
Created 4 years ago by hemc, updated 4 years ago by hemc.

How to implement cron in Yii 2

In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.

3 0
13 followers
Viewed: 64 847 times
Version: 2.0
Category: How-tos
Tags: console, cron, yii2
Created 4 years ago by edoardo849, updated 4 years ago by CeBe.

Auto-update denormalized attributes with MongoDb and Yii2

You have different collections in MongoDb with de-normalized attributes. As you may know, due to its not-join nature, MongoDb tends to encourage repetition of the same value in different collections (de-normalization). In this MongoDb is opposed to a more SQL-like approach where you usually reference only the ID of the value with a foreign key.

1 0
3 followers
Viewed: 10 703 times
Version: 2.0
Category: Tips
Created 4 years ago by edoardo849, updated 4 years ago by CeBe.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

suppose to have in Mongo a collection "user" like:

3 0
7 followers
Viewed: 16 367 times
Version: 2.0
Category: How-tos
Created 4 years ago by edoardo849, updated 3 years ago by skworden.

Upload files in Yii2 with MongoDb and GridFs

Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

6 0
5 followers
Viewed: 21 069 times
Version: 2.0
Category: How-tos
Created 4 years ago by Kartik V, updated a month ago by Kabinenkoffer.

Filter & Sort by calculated/related fields in GridView Yii 2.0

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

10 2
62 followers
Viewed: 179 081 times
Version: 2.0
Category: Tutorials
Created 4 years ago by aarondfrancis, updated 4 years ago by YiiJeka.

Automatic Parameter Binding to POST vars in Yii2

I wrote about this on my blog, but wanted to post it here too.

0 0
4 followers
Viewed: 16 000 times
Version: 2.0
Category: How-tos
Created 5 years ago by Charles R. Portwood II, updated 4 years ago by Vivek.

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

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: 205 931 times
Version: 2.0
Category: Tutorials