Download the PHP package milkyway-multimedia/ss-mwm-formfields without Composer

On this page you can find all versions of the php package milkyway-multimedia/ss-mwm-formfields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ss-mwm-formfields

Milkyway Form Fields

Still in heavy development

Due to some limitations, this may not work the way I want it, so the API will be changing frequently until I am happy with it. Please use with caution if you must use it at all.

Milkyway Form Fields is a set of form fields that we use across a variety of projects and didn't think we would need a separate module for each.

Install

Add the following to your composer.json file

Usage

Composite Fields

These fields work as composite fields, with the ability to group form fields into certain components

  1. HasOneCompositeField: Save a has one relationship as if it is part of the current form. Can also be used to completely save a different record if need be.
  2. InlineFormField: Save a form as part of another form (kind of like ajaxing it).
  3. AccordionComponentField: A composite field that acts like an accordion. Uses Twitter Bootstrap styling.
  4. ModalWindowField: A composite field that acts like a modal window, with the option to set a trigger, or to trigger automatically. Uses Twitter Bootstrap styling.
  5. PanelComponentField: A composite field that displays as a panel
  6. SliderComponentField: A composite field that displays a slider. Uses Twitter Bootstrap styling.
  7. TabComponentField: A composite field that displays fields in a tab. Uses Twitter Bootstrap styling.

Helper Fields

These are fields that use the LiteralField as a base, but are just there to make developing with forms a little bit faster (and more zen)

  1. FormActionLink: Display a link like a button - uses Twitter Bootstrap styling - to get it to work in the CMS, make sure you use FormActionLink::create($name, $content, $link)->cms()
  2. FormMessageField: Display a message to the user - uses Twitter Bootstrap styling - to get it to work in the CMS, make sure you use FormMessage::create($name, $content, $type)->cms()
  3. HorizontalRuleField: Display a horizontal rule, or just separate with blank paragraphs by using SpacerField::create($name)->invisible()
  4. IframeField: Display a page in an iframe within the form
  5. FlyoutLabelField: Display a label in a flyout number, to better match the Silverstripe CMS styling.

Functional Fields

  1. GroupedListboxField: Allows you to use a two dimensional array with ListboxField
  2. RangeSliderField: Display a slider that saves values to the database
  3. TabbedSelectionGroup: Display selection groups in tabs, or a tab dropdown (to save space)
  4. Select2Field
  5. TypeAheadField

Extended Functionality

  1. HTMLEditorField - extras: Adds ability to limit characters on HTMLEditorFields, define more custom configuration such as buttons, iframe CSS and more.

License

Version

Develop

This project relies on the mwm.buildr module. This means you can develop the code with live updating and automatic building on file changes, simply run the command below to get this functionality.

For more information about this functionality, please read: https://bitbucket.org/milkyway-multimedia/mwm.buildr/raw/master/README.md

Contact

Milkyway Multimedia


All versions of ss-mwm-formfields with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
silverstripe/framework Version ~3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package milkyway-multimedia/ss-mwm-formfields contains the following files

Loading the files please wait ....