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:
Fork this repo
Clone your fork
Shell: ln -s development.cfg buildout.cfg
Shell: python boostrap.py
Shell: bin/buildout
Run bin/test to test your changes.
Or start an instance by running bin/instance fg.
Links
Issues: https://github.com/4teamwork/ftw.addressblock/issues
Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.addressblock
Copyright
This package is copyright by 4teamwork.
ftw.addressblock is licensed under GNU General Public License, version 2.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.