This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Overview

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.

Requirements

  • Zope 2.10.4+

Usage

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

A schema definition for a field carrying a single link:

>>> from collective.formlib.link.field 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" />

Releases

0.2 (2011-07-01)

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

0.1 (2008-02-29)

  • Initial public release.
Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.formlib.link-0.2.tar.gz (4.9 kB) Copy SHA256 Checksum SHA256 Source Jul 1, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting