Difference between revisions of "Website Header"

From apertus wiki
Jump to: navigation, search
Line 29: Line 29:
  <nowiki>
  <nowiki>
  File: /wp-content/themes/twentyeleven/header.php
  File: /wp-content/themes/twentyeleven/header.php
  line 138 after </header><!-- #branding -->
  line 70 after </head>
  <!--apertus header start-->
  <!--apertus header start-->
  <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=lsmblog" frameborder="0"></iframe>
  <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=lsmblog" frameborder="0"></iframe>
  <!--apertus header end-->
  <!--apertus header end-->
  </nowiki>
   
 
also needed to change themes CSS to
body {
    padding:0;
}
</nowiki>


==phpbb==
==phpbb==

Revision as of 08:24, 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

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-->