Version History

1.4

Fixed outputAutoHeaderItems so child blocks' on_page_view is called and header items are added

 

1.3

Enabled recursion protection, should work on infinite levels

Added separate errors for 'scrapbook not found' and 'no blocks in scrapbook'

Enhanced error reporting so it can be private or public

Added a bunch of commenting

 

1.2

Added outputAutoHeaderItems to controller

Added empty on_page_view to controller

Moved logic from view to controller, recursion be damned

General controller tidying

Now uses t() function for error messages

 

1.1

Now uses t() function in add/edit form to enable localization 

Added error message if no scrapbooks are available in add/edit form

Added error message if specified scrapbook can not be found or there are no blocks in scrapbook

Updated view.php so errors are only displayed in Edit Mode, otherwise fails silently

 

1.0

Initial Release