• Hello all,I’m having a few problems with printing website content, each of which opens in a popup.The print command “Ctrl-P” doesn’t work properly because the agency that created the page must have done a sloppy job. The popup is printed 9x and is cut off at a certain height.Now I have tried the great plugin Print-o-magic, but unfortunately I do not get a correct printout.I have created a test product “Levelling supports 8251.10” on https://www.haacon.com/de/produkte/hebesysteme/nivelliervorrichtungen/ (the lowest product).Unfortunately, I only get a blank white page. Can someone please help me or has a tip what this could be?

    EDIT:
    In the WPCode Plugin i have insert this:
    ?php echo do_shortcode(‘[print-me target=”#post-%190%” printstyle=”external”/]’); ?

    In the modal popup: [print-me target=”#post-%190%”/]

    • This topic was modified 1 year, 8 months ago by chris7612.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Some questions to best help resolve this:
    1. Which plugin is being used to create the modal windows?
    2. The last item’s print target is #post-190 (not sure what the above #post-%190% is referring to), however, there is no target element with an ID of post-190 – therefore the trigger seems to do nothing.

    Try changing the print-me shortcode for the last items’s modal popup to the following:

    [print-me target="#popupid_64216a9ed79d4"/]
    Thread Starter chris7612

    (@chris7612)

    Thanks for the quick answer!
    The plugin for the popup is WP Featherlight.
    Unfortunately, the [print-me target=”#popupid_64216a9ed79d4″/] shortcode does not work.
    Is there any code that needs to be added other than in the product popup itself?
    Many greetings
    Chris

    Plugin Contributor twinpictures

    (@twinpictures)

    OK! So things are going to get a bit technical, but the issue is now more clear. It seems that WP Featherlight is dynamically loading the pop-up content. This content does not exist when the page loads, only after the pop-up trigger is clicked. We’ll set up a demo with WP-Featherlight and see if we can find a call-back or some other work-around and get back to you. Please stand by, we’ll find a solution for you.

    Thread Starter chris7612

    (@chris7612)

    Thank you so much. i will wait.

    Plugin Contributor twinpictures

    (@twinpictures)

    Hello Chris,

    We have some good news. This WP Featherlight is basically just a wrapper for the featherlight library, which is very well documented. While this is being used, it’s probably not how the modal windows are being created. Is there some other plugin or theme option that allows for the creation and configuration of each modal popup?

    It might be best to take this offline, as it sounds like there are a number of moving pieces to this puzzle. If you like, please contact us directly at info [at] twinpictures [dot] de with a link back to this thread.

    But worry not dear reader, we’ll find a solution for this issue and post it back to help others with a similar issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Print a modal popup’ is closed to new replies.