Add beforePageHeader to the header.tpl
Fix the position of the beforePageHeader event to avoid problems with the to top buttons
Merge pull request #1769 from NBZ4live/header-template-event

Add beforePageHeader to the header.tpl