ezsystems/ezpublish-kernel — pull request #254 by dpobel (2013-03-06 14:33:23+00:00)
Title: Fix EZP-20425:  Page field type must have a siteaccess level configuration

JIRA issue: https://jira.ez.no/browse/EZP-20425

## Description

This patch introduces the ability to configure the Page field type at siteaccess level. With it, it's now possible to write something like:

```yml
ezpublish:
# registrating blocks and layouts globally
ezpage:
blocks:
myAwesomeBlock:
name: "My awesome block"
# ... others blocks
layouts:
myStunningLayout:
name: "A stunning layout"
template: "stunning.tpl"
# ... others layouts
system:
ezdemo_site_group:
blocks:
myStunningLayout:
name: "A better name :p"
enabledBlocks: [myAwesomeBlock, ...]
enabledLayouts: [myStunningLayout, ...]
```

With this configuration, the layout `myStunningLayout` and the block `myAwesomeBlock` will be added to the list of registered layouts and blocks and they will be available in the siteaccess in the group `ezdemo_site_group`. At the siteaccess level, it's possible to change some of the properties of the layouts and the blocks.