Difference between revisions of "Website Header"
From apertus wiki
Line 33: | Line 33: | ||
==Drupal7== | ==Drupal7== | ||
Copy File: /sites/all/themes/zen/zen/html.tpl.php to own theme | Copy File: /sites/all/themes/zen/zen/html.tpl.php to own theme | ||
<nowiki> | |||
edit line 101 after <body class="<?php print $classes; ?>" <?php print $attributes;?>> | edit line 101 after <body class="<?php print $classes; ?>" <?php print $attributes;?>> | ||
<!--apertus header start--> | <!--apertus header start--> | ||
<iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=website" frameborder="0"></iframe> | <iframe width="100%" scrolling="no" height="42" src="http://www.apertus.org/header?page=website" frameborder="0"></iframe> | ||
<!--apertus header end--> | <!--apertus header end--> | ||
</nowiki> | |||
==Wordpress== | ==Wordpress== |
Revision as of 15:38, 17 February 2013
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
Copy File: /sites/all/themes/zen/zen/html.tpl.php to own theme
edit line 101 after <body class="<?php print $classes; ?>" <?php print $attributes;?>> <!--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.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-->