ezsystems/ezpublish-kernel — pull request #251 by lolautruche (2013-03-04 17:04:18+00:00)
Title: EZP-20424 - As a developer, I want eZPage field type working in read only mode

**Work in progress !**

See [corresponding Jira issue](https://jira.ez.no/browse/EZP-20424).

## Description
Goal is to have **Page** fieldtype working in read only mode, with an sub-controller as a replacement of the legacy `block_view_gui` *eZTemplate* function.

Note that the cronjob is still handled in the legacy stack :
```bash
php ezpublish/console ezpublish:legacy:script runcronjobs.php ezflow
php ezpublish/console ezpublish:legacy:script runcronjobs.php ezflow-cleanup
```

## TODO
- [ ] Refactor current field type implementation to use `ezm_pool` table for pending/valid/archived block items.
- [ ] Add tests for the newly refactored classes.
- [ ] Add semantic configuration available by siteaccess when needed (TBD by @dpobel).
- [ ] Implement the default view template block (*Twig*).
- [ ] Add an internal controller for rendering blocks to replace the legacy `block_view_gui`.
- [ ] Implement a new `BlockViewProvider`, responsible for selecting the appropriate template for a given block.
- [ ] *(optional)* Add the possibility to use a custom controller for block rendering.