Skip to main content

Common utilities, vocabularies, taxonomies for imio.smartweb & co products

Project description

CI Status Coveralls Latest Version Egg Status https://img.shields.io/pypi/pyversions/imio.smartweb.common.svg?style=plastic:alt:Supported-PythonVersions License

imio.smartweb.common

Provides various common needs for smartweb related sites :

  • topics field behavior with topics vocabulary select widget

  • Iam field behavior with “iam” vocabulary select widget

  • rich description feature, with bold & newlines, limited to a maximum of chars (see config.py)

  • countries vocabulary

  • cities vocabulary (values are stored in registry)

  • faceted relative path widget

  • breadcrumb index that stores the full object path with titles (and not ids)

  • has_leadimage index that stores if there is a lead_image on the object or not

  • cropping scales selection mechanism per content-type / field (with adapters)

  • help texts (descriptions) on forms above the fields and not below

  • @search-filter REST endpoint to get all terms (and titles) of metadatas from search request results

Custom Add / Edit forms are also provided to :

  • Transform tabs into expandable fieldsets

  • Hide lead image caption field (never used)

Utils fonctions are also provided for :

  • vocabulary term translation

  • object geolocation (with IAddress schema)

A (very) simplified TinyMCE configuration is also made.

Translations

This product has been translated into

  • French

Installation

Install imio.smartweb.common by adding it to your buildout:

[buildout]

...

eggs =
    imio.smartweb.common

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0a1 (2021-11-05)

  • Initial release. [boulch]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imio.smartweb.common-1.0a1.tar.gz (44.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page