• Resolved ionian

    (@ionian)


    Hi, hope you are well today.
    The plugin has been working fine until I updated to version 2.1.3
    I can’t post the URL because the display contains confidential information.

    The printomatic link is showing the correct class but only the first of the classes is printed. ( See HTML below )

    IS there anything I can do to get this to work.
    Thanks for any help you can give.

    Ian

    Here’s the printomatic link:
    <div class=”printomatic pom-default ” id=”id5633″ data-print_target=”.af-print-record”></div>

    And here’s the divs I am trying to print:

    <div class=”af-record-container af-search-id-7176 af-display-record af-print-record” id=”af-record-0″ form-id=”1675″>

    Other content inside here.

    </div>`

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ionian

    (@ionian)

    There are other divs below with the same class but only the fist one gets printed.

    <div class=”af-record-container af-search-id-7176 af-display-record af-print-record” id=”am-record-1″ form-id=”1674″>

    Content Here

    </div>

    Plugin Contributor twinpictures

    (@twinpictures)

    Yeah, this was an issue with 2.1.2 but was fixed in 2.1.3
    Can you verify that the file located at:
    your_classified_address/wp-content/plugins/print-o-matic/js/printomat.js?ver=2.0.6
    starts with the following:

    /*!
     * Print-O-Matic JavaScript v2.0.6
     * https://pluginoven.com/plugins/print-o-matic/
    */

    As the source does here:
    https://plugins.trac.www.ads-software.com/browser/print-o-matic/trunk/js/printomat.js

    if not, are you using a caching plugin? — that might need to be rebuilt/cleared

    Thread Starter ionian

    (@ionian)

    Hi and thanks for the support.
    This does look to match the above.

    /*!
    * Print-O-Matic JavaScript v2.0.6
    * https://pluginoven.com/plugins/print-o-matic/
    */

    Also I am not using any caching plugin or Cloudflare.

    I have cut the shortcode down to:
    [print-me target=”.am-print-record” ]

    Cheers
    Ian

    Thread Starter ionian

    (@ionian)

    I reverted back to the 1.7.14 version and that is working.
    That’s great but I know that’s not the best way to go.

    I’m going to reinstall the latest version again and look to get it working.

    Plugin Contributor twinpictures

    (@twinpictures)

    Alright. We’ll try and replicate the issue with only the first element being printed on our end. If you have a dev environment, or would like to take this off the forum, let us know and we can proceed from there.

    Thread Starter ionian

    (@ionian)

    Cheers, I appreciate that.
    I have it on dev environment at the moment but info is still personal so I’ll get the data changed to show something else. Might take a while but I’ll get back to soon.

    Thanks again
    Ian.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Only prints first of class after update’ is closed to new replies.