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 details)

Uploaded Source

File details

Details for the file collective.localheaderandfooter-1.0.tar.gz.

File metadata

File hashes

Hashes for collective.localheaderandfooter-1.0.tar.gz
Algorithm Hash digest
SHA256 e97ffa960cc335c5c894269ca4c4e745945071f03c6544c0ab1e993fbfd51111
MD5 402a028cfae652fc51dc9444bfa0996d
BLAKE2b-256 4a6e6052ca1c93059a73e7aae0829bb46cd714112ae15ab936abc2820f92d781

See more details on using hashes here.

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