• Resolved m.orange

    (@morange)


    Hello Support,

    I would like to use the widget functionality to integrate a page from an external domain via the regex function.
    It is unclear to me where to store the path to the respective page.
    Here is the code we want to integrate:

    <!-- twingle -->
    <iframe src="https://spenden.twingle.de/bndnis-90-die-grnen-kreisverband-pinneberg/kreisverband/tw6418445602630/widget?tw_target=Ann%20Christin%20Hahn%20BGM-Wahl%20Tornesch" style="width: 100%; border: none; overflow: hidden; height: 450px; position: relative; z-index: 2;"></iframe>
    <script src="https://spenden.twingle.de/embed/generic"></script>
    <!-- twingle -->

    I have changed this to:

    <!-- twingle -->
    <iframe src="(.*)spenden\.twingle\.de([^"]*)/bndnis-90-die-grnen-kreisverband-pinneberg/kreisverband/tw6418445602630/widget?tw_target=Ann%20Christin%20Hahn%20BGM-Wahl%20Tornesch" style="width: 100%; border: none; overflow: hidden; height: 450px; position: relative; z-index: 2;"><\/iframe>
    <script src="(.*)spenden\.twingle\.de/embed/generic([^"]*)"></script>
    <!-- twingle -->

    Despite this, I still don’t see the integrated iFrame here. Do you have any tips for me on how to implement this?

    Best regards, m.orange

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Hi there!

    I’m not sure if I understand correctly, since I’m not 100 % sure what you mean by “widget functionality” as well as the “path”. If you mean the regular expression with the latter, you should change it this:

    /<iframe src="(.*)spenden\.twingle\.de([^"]*)" style="width: 100%; border: none; overflow: hidden; height: 450px; position: relative; z-index: 2;"><\/iframe>\n<script src="(.*)spenden\.twingle\.de\/embed\/generic([^"]*)"><\/script>/

    I hope, this helps.

    Best regards,
    Matthias

    Thread Starter m.orange

    (@morange)

    Hej Matthias,

    thanks for your answer. That’s don’t help me. ??

    I would like to use the functionality of the Embed Privacy plugin in a widget element. It is not possible to embed the path to the respective page there. That’s why I’m trying to implement this via the RegEx.

    I am missing the information where to include the path to the respective page in the RegEx.

    Do you understand what I mean?

    Many thanks and best regards
    m.orange

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Again, I don’t know what you mean by “widget element” and why you want to use a regular expression there?

    What is the exact result you want to achieve? Currently, the iframe is blocked by Embed Privacy as it should, so I don’t see any actual problem here. Do you want to display the iframe without the overlay of Embed Privacy?

    Thread Starter m.orange

    (@morange)

    Hej Matthias,

    thanks for your fast answer. ??

    Oops, those who can read have an advantage. Sorry, I somehow overlooked the checkbox in the dark field.
    No, it fits like that.

    Thank you very much
    m.orange

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Keep in mind that the functionality for the checkbox is only saved locally for you to always display the embed. If another user (or you with another device/browser) accesses the site, the overlay is still present.

    Thread Starter m.orange

    (@morange)

    Japp, that’s clear. The iFrame should be blocked, as GDPR-sensitive data is transmitted there. It fits like this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Integration of an external page via iFrame’ is closed to new replies.