Recent Changes - Search:

Users

Developers

Wiki help.

PrintCleanUp

Purpose

For those of you who can't wait until version 0.8 this removes the page of menu items from the top of print outs.

Modification instructions (for V0.7)

1. In header.php find:

   <!-- theme screen stylesheet (should check to see if this actually exists) -->
   <link rel="stylesheet" href="themes/<?php echo $theme; ?>/style_screen.css" type="text/css" media="screen" />

   around line 14

2. Insert the following just after the line found in step 1:

   <!-- theme print stylesheet (should check to see if this actually exists) -->
   <link rel="stylesheet" href="themes/<?php echo $theme; ?>/style_print.css" type="text/css" media="print" />

3. Save and close.

4. Go to the themes\default directory.

5. Create a file called style_print.css

6. Enter the following text:

   /*===================================================================================*/
   /* Layout code - just for printing                                                   */
   /*===================================================================================*/

   #menudiv { 
      display: none;
   }

5. Save, refresh your browser, and enjoy!

Questions/comments

Add-Ons User Contributed

Edit - History - Print - Recent Changes - Search
Page last modified on December 17, 2007, at 07:55 AM