Skip to main content

UNKNOWN

Project description

Introduction

Latest PyPI version Number of PyPI downloads https://secure.travis-ci.org/jpgimenez/collective.localheaderandfooter.png Coverage

This product allows you to apply custom header and/or footer to your Plone contents.

What it does

Registers a Dexterity behavior that you can enable on any content types and overrides plone.header and plone.footer viewlets.

Once enabled, on the edit page you’ll find two new fields: Custom header and Custom footer.

You can select an item among the ones registered via Plone registry.

On save the selected header and/or footer will be applied on the content.

Known bugs

If you use this package you cannot override plone.header or plone.footer viewlets’ template via z3c.jbot because your template will be not taken into account.

To override one of them you need to register a view w/ a template and call it default-portal-header or default-portal-footer:

<browser:page
    for="*"
    name="default-portal-header"
    template="header.pt"
    permission="zope.Public"
    layer="..interfaces.ILayer"
    />

In this way you can also customize default header/footer per-content or per-marker interface.

Credits

Authors:

  • Simone Orsi [simahawk] - Abstract srl
  • Juan Pablo Giménez [jpgimenez]

Changelog

1.0 (2015-07-16)

  • Initial release

Project details


Release history Release notifications

This version
History Node

1.0

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
collective.localheaderandfooter-1.0.tar.gz (18.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

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