Wiki articles

Showing 201-220 of 799 items.

Open bootstrap modal and load content via Ajax

Created 5 years ago by JbalTero, updated 5 years ago by JbalTero.

My goal here is to Open bootstrap modal and load ANY content using ajax response.

1 0
2 followers
Viewed: 52 890 times
Version: 1.1
Category: How-tos

Update CGridview row separately using ajax request

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

There are cases you want to update a record on CGridview directly

5 0
8 followers
Viewed: 19 962 times
Version: 1.1
Category: How-tos

Cómo enviar emails usando SMTP

Created 5 years ago by robregonm, updated 5 years ago by robregonm.
2 0
2 followers
Viewed: 16 275 times
Version: 2.0
Category: How-tos

How to send emails using SMTP

Created 5 years ago by robregonm, updated 3 months ago by Wade Shuler.
5 0
10 followers
Viewed: 90 952 times
Version: 2.0
Category: How-tos

How to use GridView with AJAX

Created 5 years ago by Antonio Ramirez, updated a year 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.

9 0
15 followers
Viewed: 70 428 times
Version: 2.0
Category: How-tos
Tags: pjax, widget, yii2

Escape from Default's Yii2 Delete Confirm Box

Created 5 years ago by Antonio Ramirez, updated 3 years ago by Cozumel.

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: 34 006 times
Version: 2.0
Category: How-tos

Displaying, Sorting and Filtering Model Relations on a GridView

Created 5 years ago by Antonio Ramirez, updated 5 years ago by Antonio Ramirez.

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.

28 0
30 followers
Viewed: 244 848 times
Version: 2.0
Category: How-tos

How to use BootstrapInterface

Created 5 years ago by Antonio Ramirez, updated 5 years ago by Antonio Ramirez.

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...

2 0
3 followers
Viewed: 13 370 times
Version: 2.0
Category: How-tos

Advanced CGridview issues - custom button using php and html

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)

1 0
2 followers
Viewed: 10 033 times
Version: 1.1
Category: How-tos

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

Created 5 years ago by realtebo, updated 4 years ago by realtebo.

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: 18 144 times
Version: 2.0
Category: Tutorials

How to avoid a database update if the ActiveRecord was not modified

Created 5 years ago by tomvdp, updated 5 years ago by tomvdp.

The classic Yii way for doing an update action is as follows:

1 0
3 followers
Viewed: 16 614 times
Version: 1.1
Category: How-tos

Update Gridview with Dropdown Selection

Created 5 years ago by lgastmans, updated 5 years ago by lgastmans.

I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

0 0
4 followers
Viewed: 13 221 times
Version: 1.1
Category: Tips

Login Form With email or Whatever

Created 5 years ago by nabil abdouali, updated 5 years ago by nabil abdouali.

Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

1 2
2 followers
Viewed: 22 858 times
Version: 1.1
Category: How-tos

How to implement cron in Yii 2

Created 5 years ago by hemc, updated 5 years ago by hemc.

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: 73 092 times
Version: 2.0
Category: How-tos
Tags: console, cron, yii2

Select2 Infinite Scroll With Remote Data in Yii

Created 5 years ago by IsraelAma, updated 5 years ago by CeBe.

I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

3 0
5 followers
Viewed: 14 858 times
Version: 1.1
Category: How-tos

Automatically get the SVN Revision Number of your Project

Created 5 years ago by jcagentzero, updated 5 years ago by jcagentzero.

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: 7 972 times
Version: all
Category: Tutorials

How to Enhance a CGridView

Created 5 years ago by bluyell, updated 5 years ago by CeBe.

by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)

2 0
5 followers
Viewed: 7 961 times
Version: 1.1
Category: How-tos

Safely checking if a model class exists (without exploding)

Created 5 years ago by Boaz, updated 5 years ago by CeBe.

While rewriting the PcReportContent extension I'm maintaining I've bumped to a challenge. This wiki was born out of it.

1 0
2 followers
Viewed: 11 237 times
Version: 1.1
Category: How-tos

Making a CGridView to keep the selection between page changes

Created 5 years ago by bluyell, updated 5 years ago by CeBe.

You may find this usefull when you discover your CGridView lost the selection after an update or after a page change, nicely i have build a new extension to cover this problem in a very easy way.

1 0
3 followers
Viewed: 8 711 times
Version: 1.1
Category: Tutorials

CSqlDataProvider in CGridView

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by CeBe.

In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

3 0
9 followers
Viewed: 29 875 times
Version: 1.1
Category: Tutorials