Skip to main content

View rendering for Silva CMS

Project description

Introduction

silva.core.views let users build user interfaces using Zope Tool Kit like elements in Silva: Views, ViewletManager, Viewlet, Page, Layout. It uses Grok for an easy configuration.

It care of settings HTTP headers and implementing proper HEAD requests on views and Silva content. It is responsible for URL computation of Silva content.

You can have more information on how to use this package in the Silva developer documentation.

Code repository

The code for this extension can be found in Git: https://github.com/silvacms/silva.core.views

Changelog

3.0.2 (2013/05/23)

  • Add support for customization of the HTTP headers on specific content via IHTTPHeadersSettings.

  • Add an Last-Modified header on Silva content.

  • Add an X-Powered-By header on Silva content.

3.0.1 (2013/03/06)

  • Update IVirtualSite to include methods to return the site top level path or URL (that can be different from the root).

3.0 (2012/12/11)

  • Ensure in HTTP headers that if the Content-type of the reponse is text/html an charset is provided. This prevents bugs in WebOb.

3.0c1 (2012/09/24)

  • Add some default customization marker to hide content from the breadcrumbs, or navigation.

  • Review and improve absoluteURL adapters not to rely on the Zope 2 implementation. Monkey patch the implementation into Zope 2, so it works for ZCatalog brains too.

  • Review and improve HTTP headers support.

  • Review and improve IVirtualSite.

  • Move in the ILanguageProvider adapter from Silva.

3.0b1 (2011/11/08)

  • Fix various bugs on IVirtualSite

  • Now base the layout on the generic grokcore.layout package instead of infrae.layout.

  • Review support for preview on a View.

  • Fix various bugs in breadcrumb and preview URL.

2.3.1 (2010/12/20)

  • Update interface documentation.

  • Fix a bug where a silvaviews.View would not render the expected content.

2.3 (2010-01-07)

  • Update imports due to API changes.

  • Update test setup, use new test infrastructure.

  • Properly set HTTP headers on Pages as well.

2.3b1 (2010/07/16)

  • Form code move to silva.core.forms.

  • Layout system is now based on infrae.layout.

  • HTTP headers have been improved to be customized, HEAD requests should set the Content-Length of the content if possible.

  • absolute_url is now available on versions and test requets.

  • Update to match publisher changes in Zope 2.12.

2.2b1 (2010-01-22)

  • Add some support to set HTTP headers on content and views.

  • Manage HEAD requests on content and views.

  • Create a layout support by using five.megrok.layout.

  • Add support to create public forms.

  • Add the possibility to change widget rendering style between different z3c forms.

  • Improve form and form templates, more support for status messages.

  • Add the possiblity to remove the cancel button on z3c forms by using an interface.

  • SMI forms should be registered on the SMI layer.

  • Use silva.translations for translations support.

2.2a2 (2009-01-12)

  • Add generic ZMI form.

  • Update forms macros.

  • Use five.grok viewlets instead of a local implementation.

2.2a1 (2008-11-18)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silva.core.views-3.0.2.tar.gz (20.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page