+ Reply to Thread
Results 1 to 6 of 6

Thread: PDF export 2.3.0 update

  1. #1

    PDF export 2.3.0 update

    Hi,
    after updating to the newest PDF plugin I need a little help about the printing details.
    I want to show only some user fields when printing the PDF instead of all user fields as the plugin does.
    What code should I edit? I had this done on my previous version of the plugin but I can't handle it on the new one.
    Thanks in advance.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    You need to modify rlPdfExport.class.php > public function display($listingID)

    see this thread: https://forum.flynax.com/showthread....ghlight=export

  3. #3
    I saw the thread but I see that the code has been slightly changed in the update.
    Is there a simple way so it would only show the user info which is only posted as public in the listing related to all different account types?

  4. #4
    Can I get a help for the code just to exclude some fields?
    I was using this before and it was working just fine
    foreach ( $additional_fields as $key => $additional_value )
    {
    if ($key == 'policy') continue;

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    See the code block:
    PHP Code:
    Only registered members can view the code
    and use like:
    PHP Code:
    Only registered members can view the code
    and it's a good idea to display account details from browse form

    I'll create a task on it
    Last edited by Rudi; May 25, 2020 at 10:59 AM.

  6. #6
    Thank you Rudi!!!
    Just a note: if ($additionalValue['Key'] == 'policy') continue;

+ Reply to Thread