• Resolved Microcap

    (@microcap)


    I currently have a simple javascript popup function that passes parameters to a PHP file and opens that PHP file in the window. It works perfectly, but is not responsive and opens a new window/tab. Looking for a replacement that does a Model popup. Can this plugin load PHP into the modal window? Can it be called simply like the code below? If not can this feature be added in the future? It would be so useful to allow the content in the modal popup to change depending on passed variables.

    My current call to the old javascript function openpopup is:

    <a
    href="openpopup('www.mysite.com/php/ShowTheReviews.php?Productnum=XXXXXX&MODEL=Product%20Name')">Click for Reviews</a>
Viewing 1 replies (of 1 total)
  • Sygnoos Support

    (@sygnoossupport)

    Dear @microcap,

    You can use a 3rd party php shortcode (Insert PHP Code Snippet) plugin to display this in our Shorcode popup type.

    Or, if you want to simply display the link inside the popup, you can try our Iframe (PRO) popup type.

    Please, let us know which option is best for you.

Viewing 1 replies (of 1 total)

The topic ‘Execute PHP file in a Modal Popup’ is closed to new replies.