Formatting Church Directory — revisited

About Support Directory Formatting Church Directory — revisited

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10936

    Greetings,

    In “function church_admin_premium_address_pdf_v1” you have the ability to print an address on one line or two. You split the address line at the comma. Many thanks, that works beautifully!

    There is a problem however, in pdf_creator.php approximately line 710. You have a case statement with the options ‘single’ or ‘multi’ followed by a single line increment ($outputlines +=1;). If you split the address at the comma, you should increment $outputlines += 2 or 3.

    I have tested moving the increment of $outputlines into the case statement, and it works.

    ====================

    Would it be possible to pass the left-hand margin size to the call of fPDF to allow for binding the directory?

    Many thanks.

    #10937
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Just checked the code, $outputlines doesn’t actually do anything. It’s redundant

    #10938
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Can add a left hand margin option – but if printed double sided would need to alternate with right hand margin

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.