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 | RSS feed

This version

1.0

Download files

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

Source Distribution

collective.localheaderandfooter-1.0.tar.gz (18.2 kB view hashes)

Uploaded Source

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