Wiki

Sorted by viewsX
Displaying 421-430 of 784 result(s).

Remove Byte Order Mark (BOM) from files recursively

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 17,675 times – ( +5 / -2 ) – version all
Ok, this wiki is not only for yii projects.

CSV Export

Created 5 years ago by JohnPollardHow-tos5 comments – viewed 17,649 times – ( +4 / -1 ) – version 1.1
I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.
tags: csv, export

How to create a simple logout link in the view?

Created 3 years ago by mi.sarahHow-tos0 comments – viewed 17,539 times – ( +1 / -4 ) – version 1.1
Here you learn to create and set a simple ahref-link to logout the current user.
tags: Logout, Link, user, URL, views

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 3 years ago by Kartik VHow-tos0 comments – viewed 17,498 times – ( +37 / -1 ) – version 2.0
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created 3 years ago by Ankit ModiTips0 comments – viewed 17,470 times – ( +3 / -1 ) – version 1.1
Hi Friends,

Extending an ActiveRecord model

Created 4 years ago by BogseyHow-tos3 comments – viewed 17,450 times – ( +2 / -4 ) – version 1.1
Introduction

Generate a multi-lever array sub-category for a menu

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 17,442 times – ( +10 / -1 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Impersonate Users within Yii Framework

Created 6 years ago by WoilTutorials6 comments – viewed 17,148 times – ( +22 / -1 ) – version 1.1
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

Upload CSV File

Created 4 years ago by bhavesh vaghelaTutorials2 comments – viewed 17,136 times – ( +8 / -1 ) – version 1.1
View file

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 3 years ago by Gerhard LiebenbergHow-tos0 comments – viewed 17,120 times – ( +4 / -2 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.