Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Internet > Plone Extensions

    z3c.jbot 0.7.1

    Download button

    No screenshots available
    Downloads: 110  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Malthe Borch | More programs
    ZPL / FREE
    January 10th, 2012, 17:57 GMT [view history]
    ROOT / Internet / Plone Extensions

     Read user reviews (0)  Refer to a friend  Subscribe

    z3c.jbot description

    Drop-in template overrides

    z3c.jbot 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:

    < include package="z3c.jbot" file="meta.zcml" / >

    < browser:jbot
     directory="< path >"
     layer="< layer>" / >


    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.


    Product's homepage

    Requirements:

    · Python
    · Plone CMS

    What's New in This Release: [ read full changelog ]

    · Fixed an issue where multiple registrations against the same layer would cause only one registration (decided randomly) to have effect.

    · The lookup code now uses the specification resolution order to query for override registrations in order of specialization. [malthe]

      


    TAGS:

    template override | Plone template | Plone | Zope | template



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM