cybertools/browser/liquid
helmutm 96c074aa84 improved pseudo-button link style
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1789 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-06-14 19:42:33 +00:00
..
__init__.py make skin definitionsconforming to Zope 3.3, i.e. get rid of some deprecation messages 2007-02-21 20:14:13 +00:00
base.css improved pseudo-button link style 2007-06-14 19:42:33 +00:00
body.pt more on i18n and German translations 2007-05-24 12:55:36 +00:00
configure.zcml fixes for view configuration 2007-04-23 09:27:42 +00:00
controller.py minor improvements of the Liquid skin 2006-10-17 17:22:47 +00:00
custom.css clean-up of cybertools.browser 2006-03-24 13:21:20 +00:00
print.css prepare display of portlets via controller registration 2006-09-12 08:39:40 +00:00
README.txt View controller now basically functional, with macro registries for CSS and JS resources 2006-03-26 16:43:43 +00:00
view_macros.pt finished new-style skin template structure with main.pt and body.pt 2006-08-17 16:55:45 +00:00
zope3_tablelayout.css more on cybertools.reporter: control via the field's renderFactory 2007-05-21 17:28:16 +00:00

The Liquid Skin and Related Stuff
=================================

We first set up a test and working environment:

    >>> from zope.app import zapi
    >>> from zope.app.testing import ztapi
    >>> from zope.app.component import site, interfaces

    >>> from zope.testbrowser import Browser
    >>> browser = Browser()
    >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')

We can now open a page using the Liquid skin:
    
    >>> browser.addHeader('Accept-Language', 'en-US')
    >>> browser.open('http://localhost/++skin++Liquid')
    >>> print browser.headers
    Status: 200 Ok...
    
    >>> browser.url
    'http://localhost/++skin++Liquid'