Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > Plone Extensions

    plone.browserlayer 2.1.2

    Download button

    No screenshots available
    Downloads: 129  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Plone Foundation | More programs
    GPL / FREE
    November 25th, 2011, 17:51 GMT [view history]
    ROOT / Internet / Plone Extensions

     Read user reviews (0)  Refer to a friend  Subscribe

    plone.browserlayer description

    Browser layer management for Zope 2 applications

    plone.browserlayer is a Plone product that aims to make it easier to register visual components (e.g. views and viewlets) so that they only show up in a Plone site where they have been explicitly installed.

    Basic usage

    To use this feature, you should:

     declare plone.browserlayer as a dependency, e.g. in setup.py:

     install_requires=[
     'plone.browserlayer',
     ],


     ensure that its ZCML is loaded, e.g. with an include from your own package:

     < include package="plone.browserlayer" / >

     create a layer marker interface unique to your product:

     from zope.interface import Interface
     class IMyProductLayer(Interface):
     """A layer specific to my product
     """

     register this with GenericSetup, in a browserlayer.xml file:

     < layers >
     < layer name="my.product"
     interface="my.product.interfaces.IMyProductLayer" / >
     < /layers >


     register visual components in ZCML for this layer, e.g.:

     < browser:page
     name="my-view"
     for="*"
     layer=".interfaces.IMyProductLayer"
     permission="zope.Public"
     template="my-view.pt"
     / >



    Product's homepage

    Requirements:

    · Python
    · Plone CMS

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

    · Add support for calling many times remove in export (ie:even when no corresponding layer is registred, remove option should not throw exception). [toutpt]

      


    TAGS:

    layer management | visual components | Plone | layer | management

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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