Download the PHP package mohjak/yii2-wizardwidget without Composer
On this page you can find all versions of the php package mohjak/yii2-wizardwidget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohjak/yii2-wizardwidget
More information about mohjak/yii2-wizardwidget
Files in mohjak/yii2-wizardwidget
Package yii2-wizardwidget
Short Description 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).
License MIT
Informations about the package yii2-wizardwidget
Yii2 Wizard Widget for Email Marketing Platform
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).
This fork is created to be used in email marketing platform.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Wizard configuration
id
: string html id of the wizard widgetcampaign_name
: string name of the campaignsteps
: 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)description
: string required description of the step (shown at step navigation bar)icon
: string required step icon code (see Glyphicon or Font awesome codes)content
: string required HTML content of the step pageskippable
: boolean optional allow to skip over a stepbuttons
: array optional configuration of the buttons per stepcomplete_content
: string optional the HTML content of a complete stepstart_step
: string optional the starting step when wizard is initialized
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)
Each button can be configured with:
title
: string optional title as shown in the buttonoptions
: array optional of HTML options (see [Yii2 HTML helper documentation](http://www.yiiframework.com/doc-2.0/yii-helpers-basehtml.html#button()-detail))
or
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 :