Wiki

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

How to create a breadcrumb widget

Created 7 years ago by knutTutorials4 comments – viewed 67,582 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 67,103 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 4 years ago by marcovtwoutHow-tos33 comments – viewed 66,776 times – ( +22 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

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

Created about a year ago by skwordenHow-tos8 comments – viewed 66,600 times – ( +24 ) – 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.

Local time zones and locales

Created 5 years ago by Russell EnglandHow-tos9 comments – viewed 65,937 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.

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

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

Update/delete model with CJuiDialog (works in CGridView)

Created 5 years ago by ifdatticTutorials6 comments – viewed 64,676 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 62,917 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.

Implementing a Registration Process using the yii-user-management module

Created 5 years ago by thyseusTutorials6 comments – viewed 62,723 times – ( +7 ) – version 1.1
Hi Folks,

How to translate and do the translations the easy way

Created 4 years ago by Roman SolomatinHow-tos3 comments – viewed 62,423 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.