• Resolved vanduzled

    (@vanduzled)


    Hi

    I’m using the PDF embedder on my site using the FoundationPress template and I’m opening a modal window with ajax content. When I click on the modal, the PDF isn’t generating, only the link. When viewed on a single page (single.php template), it works fine.

    What’s the fix for this?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • danlester

    (@danlester)

    It sounds like the modal window is failing to load the relevant plugin Javascript (and probably CSS) files when it loads the content.

    It could be possible for the modal window system to load these files, but otherwise you will need to insert them into your page another way when it first loads. You’d probably need your web developer to take a look into this in more detail, but a quick workaround might be to embed a smaller PDF in a hidden location on your page to force the scripts to always load on the page in case the modal window is displayed.

    Please get in touch via email if you have any further questions – [email protected]. I may not pick up replies here.

    Thanks,

    Dan

    Thread Starter vanduzled

    (@vanduzled)

    Hey thanks for the reply.

    I see what you mean. I am actually the web developer and I’m thinking of a way to re-activate the plugin when you click on the link. Anyway, thank for giving me an idea.

    cheers mate.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PDF does not generate when called from an AJAX modal window’ is closed to new replies.