2017 © Pedro Peláez
 

yii2-extension yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

image

kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  • Sunday, April 29, 2018
  • by kartik-v
  • Repository
  • 9 Watchers
  • 59 Stars
  • 168,960 Installations
  • PHP
  • 40 Dependents
  • 0 Suggesters
  • 54 Forks
  • 9 Open issues
  • 26 Versions
  • 8 % Grown

The README.md

Krajee Logo
yii2-detail-view
Donate       kartikv

[![Stable Version](https://poser.pugx.org/kartik-v/yii2-detail-view/v/stable)](https://packagist.org/packages/kartik-v/yii2-detail-view) [![Unstable Version](https://poser.pugx.org/kartik-v/yii2-detail-view/v/unstable)](https://packagist.org/packages/kartik-v/yii2-detail-view) [![License](https://poser.pugx.org/kartik-v/yii2-detail-view/license)](https://packagist.org/packages/kartik-v/yii2-detail-view) [![Total Downloads](https://poser.pugx.org/kartik-v/yii2-detail-view/downloads)](https://packagist.org/packages/kartik-v/yii2-detail-view) [![Monthly Downloads](https://poser.pugx.org/kartik-v/yii2-detail-view/d/monthly)](https://packagist.org/packages/kartik-v/yii2-detail-view) [![Daily Downloads](https://poser.pugx.org/kartik-v/yii2-detail-view/d/daily)](https://packagist.org/packages/kartik-v/yii2-detail-view)

An extended Yii2 DetailView with many additional features. Extends the Yii DetailView to support multi columnar rows and work in both VIEW and EDIT modes. Accelerates your development by using a single configuration of attributes for both VIEW and EDIT. The extension also includes easier methods to style your detail view widget cells, data, form inputs, widgets, and columns (more specifically for Bootstrap 3). The widget by default can be styled within a Bootstrap 3 panel with a buttons toolbar to toggle modes and control your data. Refer detailed documentation and/or a complete demo., (*1)

Latest Release

Refer the CHANGE LOG for details of changes to various releases., (*2)

NOTE: Bootstrap 5.x support is added since v1.8.4. The extension includes a BC Breaking change with v1.7.0. With this release, the template property of the yii core DetailView is not anymore supported. One can use rowOptions, labelColOptions, valueColOptions at the widget level or widget attributes level to configure advanced layout functionality., (*3)

Docs & Demo

You can see detailed documentation, demonstration and API code documentation on usage of the extension., (*4)

Installation

The preferred way to install this extension is through composer., (*5)

Note: Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json., (*6)

Either run, (*7)

$ php composer.phar require kartik-v/yii2-detail-view "@dev"

or add, (*8)

"kartik-v/yii2-detail-view": "@dev"

to the require section of your composer.json file., (*9)

Usage

use kartik\detail\DetailView;
echo DetailView::widget([
    'model'=>$model,
    'condensed'=>true,
    'hover'=>true,
    'mode'=>DetailView::MODE_VIEW,
    'panel'=>[
        'heading'=>'Book # ' . $model->id,
        'type'=>DetailView::TYPE_INFO,
    ],
    'attributes'=>[
        'code',
        'name',
        ['attribute'=>'publish_date', 'type'=>DetailView::INPUT_DATE],
    ]
]);

License

yii2-detail-view is released under the BSD-3-Clause License. See the bundled LICENSE.md for details., (*10)

The Versions

29/04 2018

dev-master

9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/05 2017

v1.7.6

1.7.6.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

22/06 2016

v1.7.5

1.7.5.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

06/04 2016

dev-revert-112-patch-1

dev-revert-112-patch-1 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

11/01 2016

v1.7.4

1.7.4.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

12/09 2015

v1.7.3

1.7.3.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

23/08 2015

v1.7.2

1.7.2.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

22/05 2015

v1.7.1

1.7.1.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

02/03 2015

v1.7.0

1.7.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

27/01 2015

v1.6.0

1.6.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

12/01 2015

v1.5.0

1.5.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/12 2014

1.4.0.x-dev

1.4.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/12 2014

v1.4.0

1.4.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/12 2014

v1.4.0.x-dev

1.4.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

10/11 2014

1.3.0.x-dev

1.3.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

10/11 2014

v1.3.0

1.3.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

10/11 2014

v1.3.0.x-dev

1.3.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

19/10 2014

1.2.0.x-dev

1.2.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

19/10 2014

v1.2.0

1.2.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

19/10 2014

v1.2.0.x-dev

1.2.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/10 2014

1.1.0.x-dev

1.1.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/10 2014

v1.1.0

1.1.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

05/10 2014

v1.1.0.x-dev

1.1.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

16/07 2014

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

16/07 2014

v1.0.0

1.0.0.0 https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view

16/07 2014

v1.0.0.x-dev

1.0.0.9999999-dev https://github.com/kartik-v/yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage Bootstrap 3 styles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget grid detail detail view