[BUILD-56] Update site skin to use our common header Created: 24/Nov/10  Updated: 13/Apr/17  Resolved: 04/Nov/11

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: Site Skin 1.1, POMs 20

Type: Task Priority: Major
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Comments   
Comment by Magnolia International [ 04/Nov/11 ]

The header itself is not included in the skin, so that we can modify it later.
One configuration that works is using Apache tricks. In httpd or the vhost configuration, add the following:

ExtFilterDefine addCommunityHeader mode=output intype=text/html cmd="/usr/bin/sed -E -e '/(<body[^>]*>)/{p;r /sites/dev/community-header.mini.inc' -e 'd;}'"

Then in appropriate .htaccess files, you can add:

SetOutputFilter addCommunityHeader
Generated at Sun Feb 11 23:38:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.