User Tools

Site Tools


bigace:extensions:printpage

Print Page

This extension needs BIGACE 2.5.

If you are running a BIGACE 2.5 RC 4 or earlier, you have to apply a tiny patch. Please read this forum thread to know how.

Downloads

Installation

  • Install the archive
  • Edit your template and add the following code:
    <script type="text/javascript">
    <!--{literal}
    function printPage() {
       {/literal}
       fenster = open("{link_print item=$MENU}","ModulAdmin","menubar=no,toolbar=no,statusbar=no,directories=no,location=no,scrollbars=yes,resizable=no,height=600,width=800,screenX=0,screenY=0");
       bBreite=screen.width;
       bHoehe=screen.height;
       fenster.moveTo((bBreite-800)/2,(bHoehe-600)/2);
       {literal}
    }
    {/literal}// -->
    </script>
    <a href="{link_print item=$MENU}" target="_blank" onclick="printPage(); return false;" rel="nofollow">Print page</a>

Customization

If you do not like the final output of your “print page”, you can either edit:

  • the print template “PRINT-PAGE”
  • or the print stylesheet “Print-Page”
bigace/extensions/printpage.txt · Last modified: 2009/03/12 02:14 by kevin