Layout and theme engine for Silva CMS
Project description
Introduction
silva.core.layout helps you to create and customize public layouts for Silva. It’s the base system for new generation filesystem based layouts.
You can have more information on how to use this package in the Silva developer documentation.
Code repository
You can find the code in a Git repository at: https://github.com/silvacms/silva.core.layout
Changelog
3.0.2 (2013/08/26)
Fix an Acquisition bug in the metadata helper for layouts.
3.0.1 (2013/03/06)
Change doctype of the Porto layout to HTML 5. If you inherit from this layout, and don’t change the main layout, you can override with the doctype attribute from the class.
3.0 (2012/12/11)
Update Zope API calls.
Fix a bug on error pages.
3.0c1 (2012/09/24)
Version are now rendered with a layout if directly called. You need to have the permission Read Silva content to access them.
Default Porto templates are now written with grokcore.chameleon.
Various Silva 3.0c1 API updates.
Improve tests.
3.0b1 (2011/11/08)
The default page to render a content now does itself, without delegating with the content object. This makes things much more cleaner. request.model is no longer supported. request.resourcebase as well.
Use silva.fanstatic to include resources. Now use fanstatic packaging for jquery and jqueryui.
Now use the generic package grokcore.view instead of infrae.layout.
Support for the legacy layout is no longer supported and have been removed.
2.3.2 (2010-02-07)
Improve legacy stability, specially error pages on non-Silva content. Add tests.
Add a content provider to manage the favicon.
2.3.1 (2010-12-20)
Add a lang attribute on the HTML tag of the Porto layout.
Apply silva.core.layout layout on all Silva content.
Update tests.
2.3 (2010-10-07)
SMI Maker interface moved to silva.core.smi.
A new content provider headinsert to extends pages heads.
Default Porto template have been improved.
Add JQuery and JQueryUI resources. You can use them in your layout by inheriting from silva.core.layout.jquery.interfaces.IJQueryResources or silva.core.layout.jquery.interfaces.IJQueryUIResources.
2.3b1 (2010-07-16)
Replace z3c.form with zeam.form.
Improve default Porto layout.
Add a silva.core.layout legacy layout to replace the one of SilvaLayout, with support for overrides.
Move some dependent code from SilvaLayout to silva.core.layout: traverser to set skin, IMetadata adapter, skin metadata set.
Skin is now only set while traversing to the publish object. This prevent to get it changed to something else while accessing other that might have a different skin.
SMILayer moved to silva.core.smi.
Update code to be compliant with Zope 2.12 and Python 2.6.
2.2b1 (2010-01-25)
Porto skin is now not registered by default but only usuable as base skin for more complicated skins.
Add support to render error pages in modern skins.
Various bug fixes and improvement in the Porto skin:
Set HTTP cache header by default.
Improve navigation generation code.
Use silva.core.interfaces and silva.translations.
2.2a2 (2009-01-12)
Improve Porto skin to be extended more easily.
2.2a1 (2008-11-18)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.