Skip to main content

A link schema type representing an internal or external link.

Project description


This package provides a schema field that combines an internal and external link representation. It’s relatively low-tech.

It provides a widget that lets users enter links on the format:

``"Title":internal path or URI:"Description"``

Both title and description are optional. If an internal path is given, the field tries to resolve the object and stores only its UID.


  • Zope 2.10.4+


Include the ZCML-slug for the package to register the widget with formlib.

A schema definition for a field carrying a single link:

>>> from import Link
>>> field = Link(title=u"Link")

A list of link fields:

>>> from zope import schema
>>> field = schema.List(
...     title=u"Links",
...     value_type=Link)

To render the link from a page template:

<a tal:attributes="href link/@@absolute_url;
                   title link/description"
   tal:content="link/pretty_title_or_uri" />


0.2 (2011-07-01)

  • Fixed an issue with the link packing routine. [malthe]

0.1 (2008-02-29)

  • Initial public release.

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (4.9 kB) Copy SHA256 hash SHA256 Source None Jul 1, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page