Skip to main content

Define a reference engine usable by Silva content

Project description

Introduction

silva.core.references is a core Silva extension that defines directed references between two Silva content: a source and target. With the help of a central catalog, you have the possibility to query the references in both direction: who is the target if I am the source, and who is the source if I am the target.

References are tagged with different names, and can be found by searching on one of those names.

Unless you use weak references, you can’t remove an content which is a target of a reference, you will get an error. If you used a weak reference, the source will be removed.

This extension provides you with a set of fields and widgets that can be used in forms (zeam.form and Formulator) in SMI.

Usage

This extension is used to manage links and relations in Silva Document, Silva Ghost and Silva Link for instance.

Code repository

The code for this extension can be found in Git at: https://github.com/silvacms/silva.core.references

Changes

3.0.4 (2013/12/18)

  • Display the list of broken references in SMI as well.

  • Improve a little the performances.

  • Fix the reference lookup widget that could display an invalid edit link to the original content in complicated virtual host setup.

  • Update icons.

3.0.3 (2013/08/26)

  • Fix bugs on service template.

  • Fix scope of the CSS defined for the reference widget.

3.0.2 (2013/05/24)

  • Optimize path computation helpers.

  • Update widget’s javascript to be compatible with jQuery 1.9.

3.0.1 (2013/03/06)

  • Add a widget for zeam.form and multiple references.

  • Update Formulator to match new Silva XML import / export feature.

  • Introduce IReferable interface that must implemented for all content that can be the target of a reference. This fixes problems where cleanup wasn’t called if the target wasn’t a Silva content.

  • ReferenceSet object have been improved performance wise.

3.0 (2012/12/11)

  • Small bug fixes when the widget is not used in the SMI.

3.0c1 (2012/09/24)

  • Add a new reference type, DeleteSourceReferenceValue, that automatically delete the source of the reference of the target is removed (so is the reference).

  • Improve reference selection widget.

  • Improve tests.

  • Fix bugs (non-required values).

3.0b1 (2011/11/10)

  • Add a Formulator field for relations, that are used in Code Sources.

  • Fix some Aquisition bug edge-case.

  • Improve widget popup to work with silva.ui, and have default SMI feature (such as preview).

2.3.3 (2010-02-07)

  • Add a refresh functionality to the JS reference selection popup.

  • Add the possibility to add new content from the JS reference selection popup.

  • Fix some bugs on content suppression (and add test for this case).

  • Fix various small issues.

2.3.2 (2010-12-20)

  • Add a clear fonctionality to the JS reference selection popup.

  • If nothing is selected in the JS reference popup, no link is generated in the field. An edit link in the field have been added as well.

2.3.1 (2010-10-18)

  • Improve references graphs representation.

  • Add a ReferenceSet.

  • Fix some bugs in case of duplication of broken references.

2.3 (2010-07-16)

  • First official 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

silva.core.references-3.0.4.tar.gz (47.8 kB view details)

Uploaded Source

File details

Details for the file silva.core.references-3.0.4.tar.gz.

File metadata

File hashes

Hashes for silva.core.references-3.0.4.tar.gz
Algorithm Hash digest
SHA256 dae89450c5c4727791c3ac8b7f5951385e538ea40b7d532c198a0573446ff794
MD5 eacacb3a562e5b538a86641315527c30
BLAKE2b-256 ca942a6d02517bb06c6945af29b7e9826bee297a692cf230a8f37bfad1d39f46

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