QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    iframes are not wowkring

    Bug Report
    iframes are wowkring
    5
    7
    869
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      japanou last edited by

      i enable iframes but there is an error on save.

      this happens for the short or normal room type desription

      here is the code i have tried to save, please help

      <iframe src=//cloud.nobeds.com/Calendar/Index/59471 frameborder=0 onload="this.width=screen.width;this.height=screen.height"></iframe>

      J 1 Reply Last reply Reply Quote 0
      • J
        japanou @japanou last edited by

        i have to replace < with ( otherwise it will not post here

        (iframe src=//cloud.nobeds.com/Calendar/Index/59471 frameborder=0 onload="this.width=screen.width;this.height=screen.height")

        1 Reply Last reply Reply Quote 0
        • Faiz
          Faiz last edited by

          Hello @japanou
          Please check if you have allowed the iframe on your website.
          Go to Preferences Tab --> General Preferences allow the iframes https://prnt.sc/rgk4h0

          J 1 Reply Last reply Reply Quote 0
          • J
            japanou @Faiz last edited by

            yes, please see screenshots iframe-code.bmp iframe-config.bmp

            1 Reply Last reply Reply Quote 0
            • S
              shreesh Global Moderator last edited by

              Hello @japanou
              In QloApps we have disallowed the use of onload in iframe for security purpose.
              You can display the iframe without using onload event such as

              iframe width="300" height="150" src="//cloud.nobeds.com/Calendar/Index/59471" frameborder="0"></iframe>
              

              If you want to use onload in iframe you can do that by removing onload validation from the following path:

              YourQloAppsfolder/classes/validate.php

              Function isCleanHtml() - Line : [400]

              Remove the onload string (https://prnt.sc/rhpsle)

              1 Reply Last reply Reply Quote 0
              • A
                alfred0809 last edited by alfred0809

                At my company, we use iFrames primarily for billing purposes in order to maintain PCI-DSS compliance on one server which gets embedded into other views. This streamlines development and simplifies billing and financial requirements to mostly focus on a single domain. VidMate TeaTV Shareit

                1 Reply Last reply Reply Quote 0
                • J
                  japanou last edited by

                  thanks all-- i used fixed values for the size, it is working now. For now it should be OK!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post