SilvaLayout
===========

1.4.3 (2009-03-12)
------------------

Bugs Fixed:

- Fix an attribute error when people inherit from SilvaViews, and
  don't define ``context_or_default``, do strange request.


1.4.2 (2008-12-17)
------------------

Bug Fixed:

- Fix a bug in silvalegacy so ``overrides.html`` still works.


1.4.2b1
-------
Features added:

- added ITranslator interface, for translation of content

Bugs Fixed:

- Only apply the skin on the request if it's not already providing
  it. (Fix Z3CForm integration).

1.4.1
-----

Bugs Fixed:

- Make ISilvaDefault layer inherit from the correct interface class:
  IDefaultBrowserLayer.

- Truncating breadcrumb titles at 50 chars.

1.4
---

Features Added
~~~~~~~~~~~~~~

- New Preview Method

  This new method removes the requirement that an explicit preview
  view for IContainer and IContent be defined for each layout.  There
  is now a single 'preview_html' view defined for the SilvaDefault
  layout, for IContainer and IContent.  These views simply call the
  current skin's index.html view.  Before this happens, a parameter is
  added to the request, 'silva_view_mode=preview'.

  The public view of each layout is now also responsible for rendering
  the preview view. Typically this will just be rendering the editable
  content and editable title, since as of Silva 2.1 the publish
  buttons will be removed from the preview view interface.

  The base silvaview.SilvaView vase view class (available from the
  public view's template as the 'view' variable) has a new method,
  'is_preview_view' and should be called by layouts to determine
  whether the current view is 'preview' or 'published'.

  Note that this method of using a request variable,
  'silva_view_mode', is extensible to other views as well.  The
  variable name is generic enough that you could have multiple custom
  views on an object which callback to the index.html template.

- Added a configobject. This can be used instead of custom metadata
  sets to provide inheritable settings for specific SilvaLayout based
  layouts. See README.txt for an example of how to use this.

- Added a new layout: SilvaLegacy.  This layout can be used to
  support traditional, pre-SilvaLayout zodb-based layouts.
  i.e. using <silva_root>/(index_html|preview_html|content.html|
                           layout_macro.html|override.html)


Bug fixes
~~~~~~~~~

- Don't use a vocabulary to list availables skins, but list interfaces
  instead. This make SilvaLayout work with Zope 2.11.

1.3
---

Features Added
~~~~~~~~~~~~~~

- Added getPublicationMetadata method to get metadata directly from
  the containing publication.

1.2
---

Features Added
~~~~~~~~~~~~~~

- Added a metadata method to Silva View. metadata(set, field) will
  return the value of the relevant field for the current context.

- Added html comments to the silva defaul layout so people will know
  when SilvaLayout is used rather than the normal layout in Silva.


1.1
----

Bugs fixed
~~~~~~~~~~

- 128518 Import of nonexisting skin gives a formulator
  SelectionValidator error.


Ported from 1.0 (Silva-1.6) branch
----------------------------------

- fixed a bug where HEAD requests weren't handled properly. See
  https://bugs.launchpad.net/silva/+bug/180155

Features Added
~~~~~~~~~~~~~~

Ported from 1.0 (Silva-1.6) branch
----------------------------------

- Added a subscriptor view to have subscription support with
  SilvaLayout.

1.0
---

Bugs fixed
~~~~~~~~~~

- Fixed bug in public preview where publish button was submitting to
  the wrong place.

- Do not use redirect to status screen, just return to the public
  preview

- Do not create a copy if the doc is already published


0.5.9
-----

Features Added
~~~~~~~~~~~~~~

- Updated (crossported?) SilvaLayout publisher with improvements from
  core

- Added a way to override the skin as set in the metadata from the
  request, in order to be able to have skins be triggered on user
  actions.

- Added css class "selected" on the anchor in the tree that is the
  currently selected node.

0.5.7
-----

- Removed search template from Silva search so it can use the new
  Silva Find code from silva1.6

0.5.6
-----

Bugs fixed
~~~~~~~~~~

- ChildNodes of non-container would raise StopIteration. This doesn't
  seem to work for iterators, so replaced this just returning an empty
  list.

0.5.5
-----

Features Added
~~~~~~~~~~~~~~

- SilvaView now has a modificationtime method, which gets the
  modificationtime from the metadata of the content, *or* from the
  metadata of the default document of the container if the context is
  a container

0.5
---

- Initial public release. (we were using internal release numbers
  before)
