Wiki

Articles tagged with "yii2", sorted by commentsX
Displaying 1-10 of 60 result(s).

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

Created 10 months ago by Kartik VTutorials20 comments – viewed 21,998 times – ( +35 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Render a form in a Modal Popup using ajax

Created 7 months ago by thiagoc7How-tos11 comments – viewed 19,243 times – ( +6 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

How to implement cron in Yii 2

Created 8 months ago by hemcHow-tos8 comments – viewed 7,043 times – ( +9 ) – version 2.0
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
tags: cron, yii2, console

How to hide /frontend/web in url addresses on apache

Created 2 months ago by raminiousHow-tos8 comments – viewed 27,525 times – ( +9 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

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

Created about a year ago by Charles R. Portwood IITutorials7 comments – viewed 104,777 times – ( +8 / -8 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

Escape from Default's Yii2 Delete Confirm Box

Created 8 months ago by Antonio RamirezHow-tos6 comments – viewed 4,543 times – ( +5 ) – version 2.0
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.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 5 months ago by ThePr0f3550rHow-tos6 comments – viewed 14,022 times – ( +11 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Created 7 months ago by Kartik VTips5 comments – viewed 10,162 times – ( +29 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

Managing your nested dropdown dependency with DepDrop widget

Created 7 months ago by Kartik VTutorials5 comments – viewed 4,652 times – ( +28 / -5 ) – version 2.0
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.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 7 months ago by Kartik VTutorials5 comments – viewed 6,954 times – ( +29 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.