Wiki

Sorted by viewsX
Displaying 81-90 of 777 result(s).

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

Created about a year ago by raminiousHow-tos14 comments – viewed 68,996 times – ( +17 ) – 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)

XUpload Workflow

Created 4 years ago by AsgarothTutorials33 comments – viewed 68,921 times – ( +34 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

How to create a breadcrumb widget

Created 7 years ago by knutTutorials4 comments – viewed 68,254 times – ( +13 ) – version 1.1
Here's a simple way to create a breadcrumb widget to be used in your templates. The idea is just to isolate how the breadcrumb is generated based on an array of crumbs.

Model password confirmation field.

Created 4 years ago by twisted1919How-tos10 comments – viewed 68,183 times – ( +11 / -1 ) – version 1.1
I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.

Using filters with CGridView and CArrayDataProvider

Created 5 years ago by marcovtwoutHow-tos33 comments – viewed 67,955 times – ( +22 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Local time zones and locales

Created 5 years ago by Russell EnglandHow-tos9 comments – viewed 66,822 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

Yii 2 list of path aliases available with default basic and advanced app.

Created 2 years ago by Kartik VTips2 comments – viewed 66,328 times – ( +52 / -5 ) – version 2.0
If you are coming over from Yii 1.x to Yii 2, and already read this guide, you may note that namespaces are very important in Yii 2 to identify classes. But do you know the list of seeded path aliases that come shipped with a basic or advanced app? Here is my attempt to list them.

Update/delete model with CJuiDialog (works in CGridView)

Created 5 years ago by ifdatticTutorials6 comments – viewed 65,415 times – ( +15 ) – version 1.1
This is based on this article.

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Created 3 years ago by codesutraTutorials5 comments – viewed 64,799 times – ( +8 ) – version 1.1
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for PHPExcel library.

How to translate and do the translations the easy way

Created 5 years ago by Roman SolomatinHow-tos3 comments – viewed 63,622 times – ( +28 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.