Skip to main content

ftw.addressblock

Project description

IMPORTANT: In Plone 5 a plonetheme other than the default has to be installed for some things to work (i.e. plonetheme.blueberry).

IMPORTANT: If the geo profile is enabled a special workflow has to be followed in order to use custom map extracts. - Add an address in the address tab and save. - Edit again and now the map extraction can be edited.

This package is an addon for ftw.simplelayout. Please make sure you already installed ftw.simplelayout on your plone site before installing this addon.

This add-on installs a new content type which can be used to display address data.

Extras

There is an extra geo which installs optional geo and map support. If you want to use this feature you must install geo profile in your policy.

Since 1.2.1 the zoomlevel and maplayer defined in the addressblocks edit panel is saved. However, this will only work together with ftw.simplelayout versions 2.1.0 and 1.23.10 (backport) or higher. For more information see ftw.simplelayout#530 and ftw.addressblock#25.

There is an extra contact which will provide a contact form. If you want to use this feature you must install both the default and the contact profile in your policy (the contact profile won’t install the default profile).

The contact form provides a ReCaptcha field which is only rendered for anonymous users.

Development

Python:

  1. Fork this repo

  2. Clone your fork

  3. Shell: ln -s development.cfg buildout.cfg

  4. Shell: python boostrap.py

  5. Shell: bin/buildout

Run bin/test to test your changes.

Or start an instance by running bin/instance fg.

Changelog

2.0.2 (2020-05-28)

  • Remove plone.app.referenceablebehavior in plone 5. [busykoala]

2.0.1 (2020-01-09)

  • Add addressblock portal_type translation to plone domain. [tinagerber]

2.0.0 (2019-11-29)

  • Check for ftw.subsite installed before using its interface. [busykoala]

  • Remove obsolete addressblock.js - also from legacy bundle, since this lead to the fact, that the mapblock.js was registered twice, which lead to the fact, that the whole map implementation was broken. [mathias.leimgruber]

1.2.1 (2019-05-22)

  • Fix edit permissions for addressblock [Nachtalb]

  • Add zoomlevel and maplayers support for addressblocks [Nachtalb]

1.2.0 (2019-04-30)

  • Add plone 5.1 support [busykoala]

1.1.2 (2019-02-07)

  • The “Title” attribute should return utf8 encoded string instead of unicode. [mathias.leimgruber]

  • Pin c.geo versions for plone 4.3.x [mathias.leimgruber]

1.1.1 (2017-11-27)

  • Enable map for anonymous users. [lknoepfel]

1.1.0 (2017-08-09)

  • Move base test classes to own module. [mbaechtold]

1.0.5 (2017-03-07)

  • Make AddressBlock addable on plone site per default [raphael-s]

1.0.4 (2017-01-31)

  • Make reading value of the address block’s rich text fields more robust. [mbaechtold]

  • Change string expr. to python expr in addressblock detail view. With Chameleon a string expression is evaluated different than without (& –> &). [mathias.leimgruber]

1.0.3 (2016-11-01)

  • Fix map marker on addressblock detail view. [mathias.leimgruber]

1.0.2 (2016-10-26)

  • Make geo location adapter more robust for publisher compatibility. [jone]

1.0.1 (2016-08-26)

  • Block is no longer searchable and will no longer be included in the navigation. [mbaechtold]

  • Use mapblock js integration to prevent duplicated googlemaps api calls. [mathias.leimgruber]

1.0.0 (2016-08-10)

  • Nothing changed yet

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

ftw.addressblock-2.0.2.tar.gz (35.5 kB view details)

Uploaded Source

File details

Details for the file ftw.addressblock-2.0.2.tar.gz.

File metadata

  • Download URL: ftw.addressblock-2.0.2.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ftw.addressblock-2.0.2.tar.gz
Algorithm Hash digest
SHA256 ec22684e5b47f6fc3852b21aea5159f4c57292621c541ed6ce06e077071b532d
MD5 5639ddcedf0dc46e23ba439ce29a071e
BLAKE2b-256 29a161c4df5b196316b21923e58a06a3dc685ea93f8145baecb5781d32fe8c41

See more details on using hashes here.

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