UNKNOWN
Project description
Introduction
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
Sponsor:
Sauce Labs https://saucelabs.com/
Changelog
1.0 (2015-07-16)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.localheaderandfooter-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e97ffa960cc335c5c894269ca4c4e745945071f03c6544c0ab1e993fbfd51111 |
|
MD5 | 402a028cfae652fc51dc9444bfa0996d |
|
BLAKE2b-256 | 4a6e6052ca1c93059a73e7aae0829bb46cd714112ae15ab936abc2820f92d781 |