You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 25 / zope-z3c.jbot-0.7.2-1.lbn25.noarch

zope-z3c.jbot-0.7.2-1.lbn25.noarch

Package Attributes
RPM  zope-z3c.jbot-0.7.2-1.lbn25.noarch.rpm Architecture  noarch Size  52142 Created  2023/06/18 05:08:48 UTC
Package Specification
Summary Drop-in template overrides.
Group Application/Internet
License ZPL
Home Page http://pypi.python.org/packages/source/z/z3c.jbot/z3c.jbot-0.7.2.tar.gz
Description

Overview

The z3c.jbot (or "Just a bunch of templates") package allows easy customization of existing templates and images. It works on Zope 2 and Zope 3.

The Chameleon rendering engine is supported [1].

Use of this package adds a small (2-3 ms per request on Plone) to the total application response time. [1] To enable Chameleon on Zope 2, use the five.pt package (CMF-apps like Plone should use cmf.pt which adds full support).

Usage

To override a particular file, first determine its canonical filename. It's defined as the path relative to the package within which the file is located; directory separators are replaced with dots.

Example:

Suppose you want to override: /plone/app/layout/viewlets/logo.pt

You would use the filename: plone.app.layout.viewlets.logo.pt

Simply drop the file in a directory and register that directory for use with jbot using a ZCML-directive:

Templates in views, viewlets and portlets

Any template that is defined as a class-attribute can be overriden using jbot, e.g. those used in views, viewlets and portlets. The template overrides may be registered for any request layer or only a specific layer.

CMF objects

Any skin-object (e.g. images, templates) on the file system (directory views) can be overridden.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
/bin/sh  
rpmlib(PayloadIsXz)  
Provides
python2.7dist(z3c.jbot)
python2dist(z3c.jbot)
zope-z3c.jbot
Obsoletes
zope-z3c.jbot-egginfo

Document Actions