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.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.1.tar.gz (35.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ftw.addressblock-2.0.1.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for ftw.addressblock-2.0.1.tar.gz
Algorithm Hash digest
SHA256 023616aa8e5d7958f05573c3c5db675ff2b29bcc6269a78fc379522a65e089c6
MD5 d84c96177ec622280f05dbd620ca12a5
BLAKE2b-256 e6185d89a905ee1d2c2497709edd0dfac74d011cfb57d119541a8b919623265d

See more details on using hashes here.

Supported by

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