(Wordpress)
Line 23: Line 23:
  
 
==Drupal6==
 
==Drupal6==
 +
<nowiki>
 +
File: /sites/all/themes/zen/zen/page.tpl.php
 +
line 103 after <body class="<?php print $body_classes; ?>">
 +
<!--apertus header start-->
 +
<iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=website" frameborder="0"></iframe>
 +
<!--apertus header end-->
 +
</nowiki>
  
 
==Drupal7==
 
==Drupal7==

Revision as of 09:20, 24 October 2012

1 About

The Apertus Website Header is a toolbar on top of all Apertus websites to make navigating between different systems/CMSs easier.

It comes in bright or dark design and always uses the inverted design of the current website.

2 Notes

The header is an iframe with 42 pixels height that has to be added to the theme of each respective website/cms.

2.1 Mediawiki

 File: /skins/Vector.php 
 line 124 after $this->html( 'headelement' ); ?>
 <!--apertus header start-->
 <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=wiki" frameborder="0"></iframe>
 <div style="position:relative;">
 <!--apertus header end-->

 line 247 after <?php $this->printTrail(); ?>
 <!--apertus header start-->
 </div>
 <!--apertus header end-->
 

2.2 Drupal6

 File: /sites/all/themes/zen/zen/page.tpl.php
 line 103 after <body class="<?php print $body_classes; ?>">
 <!--apertus header start-->
 <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=website" frameborder="0"></iframe>
 <!--apertus header end-->
 

2.3 Drupal7

2.4 Wordpress

 File: /wp-content/themes/twentyeleven/header.php
 line 70 after </head>
 <!--apertus header start-->
 <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=lsmblog" frameborder="0"></iframe>
 <!--apertus header end-->
 

also needed to change themes CSS to 
 body {
    padding:0;
 }

2.5 phpbb

 File: /styles/twilightBB/template/overall_header.html
 line 43 after piwik block
 <!--apertus header start-->
 <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=forums" frameborder="0"></iframe>
 <!--apertus header end-->