Skip to main content

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]

Sponsor:

Changelog

1.0 (2015-07-16)

  • Initial release

Release files for collective.localheaderandfooter 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.localheaderandfooter 1.0
File Size Uploaded
collective.localheaderandfooter-1.0.tar.gz 18.2 kB Details

Release files / collective.localheaderandfooter-1.0.tar.gz

Download URL collective.localheaderandfooter-1.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e97ffa960cc335c5c894269ca4c4e745945071f03c6544c0ab1e993fbfd51111
BLAKE2b-256 checksum
How to use checksums
4a6e6052ca1c93059a73e7aae0829bb46cd714112ae15ab936abc2820f92d781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page