Wiki

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

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

Created 3 years ago by Kartik VTutorials24 comments – viewed 143,837 times – ( +56 / -5 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 2 years ago by skwordenHow-tos14 comments – viewed 118,973 times – ( +27 / -1 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

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

Created 2 years ago by raminiousHow-tos14 comments – viewed 79,937 times – ( +18 / -1 ) – 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)

Displaying, Sorting and Filtering Model Relations on a GridView

Created 3 years ago by Antonio RamirezHow-tos12 comments – viewed 135,984 times – ( +44 / -2 ) – version 2.0
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.

How to implement cron in Yii 2

Created 3 years ago by hemcHow-tos10 comments – viewed 50,057 times – ( +10 / -1 ) – 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

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 2 years ago by ThePr0f3550rHow-tos9 comments – viewed 85,908 times – ( +16 / -2 ) – 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

Escape from Default's Yii2 Delete Confirm Box

Created 3 years ago by Antonio RamirezHow-tos8 comments – viewed 24,109 times – ( +9 / -2 ) – 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.

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Created 3 years ago by Kartik VTips7 comments – viewed 37,553 times – ( +39 / -5 ) – 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?

Handling tabular data loading and validation in Yii 2

Created 3 years ago by Kartik VTutorials7 comments – viewed 37,209 times – ( +44 / -7 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 3 years ago by Kartik VTutorials7 comments – viewed 41,065 times – ( +40 / -5 ) – 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.