concrete5/concrete5 — pull request #607 by JohntheFish (2012-07-30 11:30:38+00:00)
Title: 5.5.3 devel add header item

All the above commits are me trying to get to grips with GiHub for Windows. Th only important file in this is /concrete/core/libraries/view.php.

This adds the event 'on_get_header_footer_items' to getHeaderItems() and getFooterItems(). Event handlers have the opportunity to return a modified list of items.

The event is only fired if ENABLE_HEADER_FOOTER_ITEMS_EVENT is set. Otherwise behaviour is as before.

Intercepting the list at this point will facilitate further development of:
- Asset managers
- Asset optimisers
- Diagnostic tools for collision detection