PDF output from the Collection extension is coming out in A4 format,
and I want to add a standard company footer to each page. We're
running MediaWiki 1.13.2, and Collection version 1.2. I created a
customconfig.py file as discussed in another thread here, and we
placed it at

/usr/local/lib/python2.6/site-packages/mwlib.rl-0.10.2-py2.6.egg/mwlib/
rl/

but it's not working - I'm still getting A4 page format, and no
footer. Any suggestions would be most welcome. Source for
customconfig.py follows:

------------------------- snip -----------------------

#! /usr/bin/env python
#! -*- coding:utf-8 -*-

######### PAGE CONFIGURATION

from reportlab.lib.units import cm, inch
    new_size = (8.5*inch, 11*inch)

    ######### PAGE CONFIGURATION
    pageMarginHor = 1 * inch
    pageMarginVert= 1 * 1nch
    pageWidth, pageHeight = new_size
    printWidth = pageWidth - 2*pageMarginHor
    printHeight = pageHeight - 2*pageMarginVert
    pagefooter = '<img src="https://ourpathtothewiki/wiki/extensions/
newedgesmall.gif" width="75px height="20px" valign="bottom" /><br /
>PROPRIETARY AND CONFIDENTIAL<br />Not for Use or Disclosure Outside
of Company<br />(c) Company 2009, All Rights Reserved'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to