ezsystems/ezpublish-kernel — pull request #258 by lolautruche (2013-03-08 10:50:12+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
- [x] Refactor current field type implementation to use `ezm_pool` table for pending/valid/archived block items.
- [x] Add tests for the newly refactored classes.
- [ ] Add semantic configuration available by siteaccess when needed (TBD by @dpobel).
- [x] 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.