Wiki articles

Showing 121-140 of 148 items.
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: 25 187 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: 13 824 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: 80 195 times
Version: 2.0
Category: How-tos
Created 4 years ago by Antonio Ramirez, updated 6 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.

9 0
15 followers
Viewed: 66 237 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: 31 191 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.

24 0
29 followers
Viewed: 222 007 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 771 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 727 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: 67 107 times
Version: 2.0
Category: How-tos
Tags: console, cron, yii2
Created 4 years ago by jcagentzero, updated 4 years ago by jcagentzero.

Automatically get the SVN Revision Number of your Project

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 6 772 times
Version: all
Category: Tutorials
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: 11 031 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 978 times
Version: 2.0
Category: How-tos
Created 4 years ago by Kartik V, updated 6 months ago by CeBe.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

An example of customizing the Yii GridView is mentioned here. You can easily override Bootstrap or other styling defaults by changing the GridView default options.

4 2
39 followers
Viewed: 38 889 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 589 times
Version: 2.0
Category: How-tos
Created 4 years ago by Kartik V, updated 4 months 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
63 followers
Viewed: 183 714 times
Version: 2.0
Category: Tutorials
10 0
16 followers
Viewed: 31 966 times
Version: all
Category: Others
Created 4 years ago by nineinchnick, updated 4 years ago by CeBe.

Tunneling using SSH in a limited enviroment

This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

1 0
4 followers
Viewed: 9 552 times
Version: all
Category: Others
Created 5 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 772 times
Version: 2.0
Category: How-tos
Created 5 years ago by Kostas Apazidis (KonApaz), updated 4 years ago by Kostas Apazidis (KonApaz).

Remove Byte Order Mark (BOM) from files recursively

Ok, this wiki is not only for yii projects.

3 1
7 followers
Viewed: 22 125 times
Version: all
Category: How-tos
Created 5 years ago by Interboy, updated 3 years ago by Kostas Apazidis (KonApaz).

Multiple files uploader with CMultiFileUpload

Today I will show you how to handle multiple file upload step by step.

4 0
8 followers
Viewed: 271 018 times
Version: all
Category: How-tos