2017 © Pedro Peláez
 

library dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

image

sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  • Tuesday, June 4, 2013
  • by sanyatuning
  • Repository
  • 0 Watchers
  • 0 Stars
  • 47 Installations
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

DluTwBootstrap (ZF2 module)


Introduction

DluTwBootstrap is a Zend Framework 2 module facilitating usage of Twitter Bootstrap in ZF2 applications., (*1)

If you are new to DluTwBootstrap, first go to http://apps.zfdaily.com/dlutwbootstrap-demo to see it in action on-line., (*2)

Implemented features

Alerts

  • todo: write this
  • todo: write this

Forms

  • All four Twitter Bootstrap form types supported - Horizontal, Vertical, Inline, Search
  • Supported form elements
    • Button
    • Checkbox
    • Csrf
    • File
    • Hidden
    • Number
    • MultiCheckbox (not supported on Inline and Search forms)
    • Multiselect (not supported on Inline and Search forms)
    • Password
    • Radio (not supported on Inline and Search forms)
    • Reset
    • Select
    • Submit
    • Text
    • Textarea
  • Inline help (hint), block help (description) and placeholder texts are supported with relevant elements
  • Error state and messages (error messages are supported on Horizontal and Vertical forms)
  • Highlighting required fields
  • Prepend / append text to text input
  • Multi-checkbox and radio can be optionally rendered inline
  • Fieldset legend

Supported versions


Installation - manual

  1. Go to your project's directory.
  2. Clone this project into your ./vendor directory as a DluTwBootstrap module:, (*3)

    git clone https://bitbucket.org/dlu/dlutwbootstrap.git ./vendor/DluTwBootstrap, (*4)

  3. Follow the Post installation steps bellow, (*5)

Installation - with Composer

  1. Go to your project's directory.
  2. Edit your composer.json file and add "dlu/dlutwbootstrap": "dev-master" into require section.
  3. Run php composer.phar install (or php composer.phar update).
  4. Follow the Post installation steps bellow

Post installation steps

  1. Copy everything from the module's public directory to <your app>/public (i.e. Twitter Bootstrap and jQuery css files, js files and images).
  2. Enable the DluTwBootstrap module in your app config file <your app>/config/application.config.php:, (*6)

    • add 'DluTwBootstrap', under modules
  3. Optional: Move module.DluTwBootstrap.global.php from the module's root directory to <your app>/config/autoload directory. This sets the layout script to the one supplied with the module to load all necessary css and js dependencies. (Do not do this if you have your own layout and you already have the Twitter Bootstrap environment set-up properly in your project!), (*7)

Check and Demo

To check that you have installed the module properly and to see it in action, install the DluTwBootstrap Demo module. The Demo module is the easiest and quickest way to start working with the DluTwBootstrap module as it clearly shows the rendered output (e.g. a form) 'side by side' with the actual source code used to produce that output. Recommended!, (*8)


The Versions

04/06 2013

dev-master

9999999-dev https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

04/06 2013

0.1.3.3

0.1.3.3 https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

21/03 2013

0.1.3.2

0.1.3.2 https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

18/03 2013

0.1.3.1

0.1.3.1 https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

17/03 2013

dev-Alert

dev-Alert https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

12/03 2013

0.1.3

0.1.3.0 https://bitbucket.org/dlu/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

07/02 2013

0.1.2

0.1.2.0 https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

03/01 2013

dev-sanya

dev-sanya https://bitbucket.org/sanyatuning/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap

15/12 2012

0.1.1

0.1.1.0 https://bitbucket.org/dlu/dlutwbootstrap

ZF2 module to generate Twitter Bootstrap UI - forms, navigation, etc.

  Sources   Download

New-BSD-License

The Requires

 

zf2 module twitter bootstrap zend framework 2 dlutwbootstrap