2017 © Pedro Peláez
 

yii2-extension yii2-wizardwidget

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

image

bogdik/yii2-wizardwidget

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  • Friday, December 29, 2017
  • by bogdik
  • Repository
  • 2 Watchers
  • 0 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Yii2 Wizard Widget

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs)., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist bogdik/yii2-wizardwidget "*"

or add, (*4)

"bogdik/yii2-wizardwidget": "*"

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

Wizard configuration

  • id: string html id of the wizard widget
  • noInitNext: boolean disable event next button
  • noInitPrev: boolean disable event prev button
  • noInitSave: boolean disable event save button
  • steps: array definition of the wizard steps. Array key will be used as the hyperlinks to the steps.

Each step can have the following parameters: - title: string required title of the step (shown when hoovering over step icon) - icon: string required step icon code (see Glyphicon or Font awesome codes) - content: string required HTML content of the step page - skippable: boolean optional allow to skip over a step - buttons: array optional configuration of the buttons per step - complete_content: string optional the HTML content of a complete step - start_step: string optional the starting step when wizard is initialized, (*6)

In each step four different buttons can be configured (display of a button is dependent on position of the step in the sequence): - prev: (not shown on first step) - next: (not shown on last step) - skip: (shown when skippable is set) - save: (shown on the last step), (*7)

Each button can be configured with: - title: string optional title as shown in the button - options: array optional of HTML options (see Yii2 HTML helper documentation), (*8)

or, (*9)

  • html: string optional add your own button definition with HTML code (for example to save data after a step)

Usage

Once the extension is installed, use it in your code like :, (*10)

 'stepwizard',
    'steps' => [
        1 => [
            'title' => 'Step 1',
            'icon' => 'glyphicon glyphicon-cloud-download',
            'content' => '

Step 1

This is step 1', 'buttons' => [ 'next' => [ 'title' => 'Forward', 'options' => [ 'class' => 'disabled' ], ], ], ], 2 => [ 'title' => 'Step 2', 'icon' => 'glyphicon glyphicon-cloud-upload', 'content' => '

Step 2

This is step 2', 'skippable' => true, ], 3 => [ 'title' => 'Step 3', 'icon' => 'glyphicon glyphicon-transfer', 'content' => '

Step 3

This is step 3', ], ], 'complete_content' => "You are done!", // Optional final screen 'start_step' => 2, // Optional, start with a specific step ]; ?> = \drsdre\wizardwidget\WizardWidget::widget($wizard_config); ?>

The Versions

29/12 2017

dev-master

9999999-dev

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

29/12 2017

1.2.7

1.2.7.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

11/12 2017

1.2.6

1.2.6.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

17/04 2017

1.2.5

1.2.5.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

17/04 2017

1.2.4

1.2.4.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

28/12 2016

1.2.3

1.2.3.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

29/11 2016

1.2.2

1.2.2.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

17/05 2016

dev-pr/5

dev-pr/5

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

03/12 2015

1.2.1

1.2.1.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

10/11 2015

1.2

1.2.0.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

27/10 2015

1.1.2

1.1.2.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

23/10 2015

1.1.1

1.1.1.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

20/10 2015

1.1

1.1.0.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard

20/10 2015

1.0

1.0.0.0

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

  Sources   Download

MIT

The Requires

 

by A.F.Schuurman

extension yii2 ui widget tabs wizard