Skip to main content

Mix of Reference and DataGrid Fields

Project description

Introduction

collective.referencedatagridfield is a mix of Reference and DataGrid fields for Plone. This is a sophisticated reference field with its own widget for adding and deleting references for both internal and external resources. Having complete support for Archetype’s Reference field functionality, it also allows external links management.

This package functionality is based on DataGridField, DataGridWidget and Archetype’s Reference field with ATReferenceBrowserWidget. It allows Plone developers to extend default Plone Reference field functionality or override existing Reference field functionality with a custom one.

Required Products.DataGridField package is automatically installed during installation procedure.

Usage

This package can be used for extending Plone default Related content functionality. Apart from possibility to add related items from the current website, collective.referencedatagridfield allows to:

  • add custom title to the related item instead of its real title add external

  • sources as related items

Development

This product was developed by Quintagroup for Plone collective, sponsored by Headnet company http://headnet.dk/.

Supported Plone Version

Plone 4.0 - 4.2

Use Case

There is an example of simple content type creation with a mix of Reference and DataGrid fields as related items included into the package: http://svn.plone.org/svn/collective/collective.referencedatagridfield/trunk/collective/referencedatagridfield/examples/ReferenceDataGridDemoType.py

With this package your content types might get sophisiticated related items field: include related items from the current site and external ones.

1. Internal Links - to insert internal link use ‘Add…’ button and browse your site for the necessary object you want to add. Type in desirable title into the Title field. If you leave it empty - it will automatically be filled with the inserted object title.

2. External Links - to insert external links type in external URL into the Links field. Type in full address with http:// protocol. In case your URL is not correct it will not be saved. Type in desirable title into the Title field. If you leave it empty - it will get title the same as URL.

Author

  • Andriy Mylenkyy

  • Roman Kozlovskyi

  • Volodymyr Cherepanyak

Thanks

  • gauthier_bastien

  • emasker

Changelog

0.5.3 (January, 11 2013)

  • fixed getting field attributes [kroman0]

0.5.2 (April, 20 2012)

  • documentation update

0.5.1 (April, 20 2012)

  • minor i18n improvements

0.5 (September, 12 2011)

  • fixed compatibility issues with Plone 4.1

0.4 (July 19, 2011)

  • Merged the more-columns branch [chervol]

  • The default title for manual links is the the link [chervol]

0.3 (April 4, 2011)

  • Clashing of JS with default referencebrowserwidget fixed

  • Minor fixes in templates and in javascripts

0.2 (April 1, 2011)

  • JS fixed for compatibility with archetypes.referencebrowserwidget >= 2.0rc2

0.1 (May 21, 2010)

  • Initial release

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

collective.referencedatagridfield-0.5.3.zip (57.1 kB view details)

Uploaded Source

File details

Details for the file collective.referencedatagridfield-0.5.3.zip.

File metadata

File hashes

Hashes for collective.referencedatagridfield-0.5.3.zip
Algorithm Hash digest
SHA256 18103973f02baad0ad7b581919ff3feb041a2896b794f5fbc2f8a364c5a01793
MD5 d0ac46a004a38a615baf48cfec4eb632
BLAKE2b-256 47526ffde6d560bfd166eff38a158882a4fcd5b8f6f927ca326384fccacc03cd

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