Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Generic METAL macros for input fields

This package uses the TAL / METAL XML-based template language introduced by Zope to provide simple input fields from Python dictionaries, without any connection to schema data whatsoever.

The fields (or, more precisely: field sets) are created with classes for the Bootstrap grid layout system.

Features

Examples

This add-on is currently under development and not yet used on public internet sites.

Documentation

After installing, you may try the view

in your Zope instance; the macros are “self-documenting”.

Note: Currently it helps to understand German; this view is not (yet?) internationalized.

The macros, however, are language-agnostic; the don’t provide any texts by themselves but use what you throw at them.

Installation

If you use the macros in your own Plone add-on, add it to the dependencies, e.g. in the setup.py file:

setup(...,
    install_requires=[
        ...,
        'visaplan.zope.inputmacros',
        ],
    ...)

Or install visaplan.zope.inputmacros by adding it to your buildout:

[buildout]
...
eggs =
    visaplan.zope.inputmacros

and then running bin/buildout

Requirements

  • You’ll need a language interpreter as well; this will be given in default Zope / Plone installations. We don’t specify this here to allow you to choose your own.

    Starting with Plone 5, Chameleon with the z3c.pt compatiblily layer is used; this should work as well.

  • To make use of the classes applied to the HTML elements, you’ll need Bootstrap 3; you may use

    Bootstrap 4 might work as well, but we didn’t try (yet).

  • The use of Bootstrap 3 implies the need for jQuery 1.11.2; with Plone 4, you’d probably use plone.app.jquery 1.11.2+.

Contribute

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.3.0 (unreleased)

  • Bootstrap 3 version [tobiasherp]

1.0.0 (unreleased)

  • Bootstrap 2 version

    When developed in the first place (and not yet released as a distributable package), the macros had been used with Bootstrap 2. Thus, it would be possible to create a Bootstrap-2-based release; but it is not very likely this to be done.

    [tobiasherp]

Metadata

Release files for visaplan.zope.inputmacros 1.3.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visaplan.zope.inputmacros 1.3.0.dev2
File Size Uploaded
visaplan.zope.inputmacros-1.3.0.dev2.tar.gz 26.1 kB Details

Release files / visaplan.zope.inputmacros-1.3.0.dev2.tar.gz

Download URL visaplan.zope.inputmacros-1.3.0.dev2.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
52381c7c1d3e60a3ef94b06ac1fdc502949f2d66c8526e160eb7fbfd1774b89d
BLAKE2b-256 checksum
How to use checksums
1d1bd9f3c01025031ef4314ea032f39cb71f74e849563dc04ce97853c7089ead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.19.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page