2017 © Pedro Peláez
 

module sxbootstrapwizard

A wizard module for twitter bootstrap, depending on SxBootstrap.

image

spoonx/sxbootstrapwizard

A wizard module for twitter bootstrap, depending on SxBootstrap.

  • Friday, November 1, 2013
  • by RWOverdijk
  • Repository
  • 2 Watchers
  • 3 Stars
  • 2,074 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SxBootstrapWizard

A twitter bootstrap wizard., (*1)

Installation

  1. Add the dependency to your composer.json file:
    "require": {
        "spoonx/sxbootstrapwizard": "0.2.*"
    }

Usage

Here's a simple example:, (*2)

php (view)

<?php

// Add the assets
$this->sxbWizardAssets()->add();

// The title to show. (Automatically translated, whenever a translator is available).
$title  = 'My dialog!';

// The ID needed to reference your wizard later on
$id = 'my-wizard';

// Create a new wizard instance
$wizard = $this->sxbWizard($title, $id);

/* Add a card.
 *
 * $label       The label for the card. (Automatically translated, whenever a translator is available).
 *
 * $content     The content for the card. Allowed types are:
 *                  - ViewModel
 *                  - /path/to/view (will be resolved, and loaded using partial helper)
 *                  - string
 *
 * $cardName    The name of the card (used in the front-end)
 */
$wizard->addCard($label, $viewModel, $cardName);

echo $wizard

Javascript

var options = {},
    wizard  = $("#my-wizard").wizard(options);

wizard.show();

Questions / support

If you're having trouble with the module there are a couple of resources that might be of help. * RWOverdijk at irc.freenode.net #zftalk.dev * Issue tracker. (Please try to not submit unrelated issues). * By mail * The documentation (javascript) found here, (*3)

The Versions

01/11 2013

dev-master

9999999-dev https://github.com/SpoonX/SxBootstrapWizard

A wizard module for twitter bootstrap, depending on SxBootstrap.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

bootstrap zf2 module wizard sxbootstrap

01/11 2013

0.2.0

0.2.0.0 https://github.com/SpoonX/SxBootstrapWizard

A wizard module for twitter bootstrap, depending on SxBootstrap.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

bootstrap zf2 module wizard sxbootstrap

11/07 2013

0.1.0

0.1.0.0 https://github.com/SpoonX/SxBootstrapWizard

A wizard module for twitter bootstrap, depending on SxBootstrap.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

bootstrap zf2 module wizard sxbootstrap

11/07 2013

dev-feature/implementation

dev-feature/implementation https://github.com/SpoonX/SxBootstrapWizard

A wizard module for twitter bootstrap, depending on SxBootstrap.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

bootstrap zf2 module wizard sxbootstrap