Iframe displaying local time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tziere
    Member
    • Jul 2020
    • 42

    Iframe displaying local time

    Hi all,

    I want to show an iframe that displays local time.
    I've created a wysiwyg field with the iframe option on.
    Then I've filled the field with: <iframe src="https://www.zeitverschiebung.net/clock-widget-iframe-v2?language=en&size=small&timezone=Asia%2FBahrain" ></iframe>

    When I then open the record, the iframe is not displayed, only a blank box.

    What am I doing wrong?
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    Haven't seen any thread about iframe in wysiwyg field yet. I don't iFrame either so just you will need to experiment.

    First way is through the Dashlet/dashboard, I remember there is an iFrame option there.
    Second is to make sure that iFrame is supported by that website.
    Lastly there is an official "iframe" usage by EspoCRM itself, you can make try to replace the link of that file and see if it work (as a proof of concept). Here is an instruction: https://forum.espocrm.com/forum/gene...ews-from-admin

    Comment

    • Tziere
      Member
      • Jul 2020
      • 42

      #3
      Hi!

      Thanks for your reply, Ive attached a screenshot of the iframe option within the wysiwyg field, but I'm not sure what this function does exactly.

      Doing it through a dashlet is not really an option, because each record has a different iframe!
      Attached Files

      Comment


      • esforim
        esforim commented
        Editing a comment
        Does it work with Dashlet though? See if it work does in particular first, in particular it will imply the answer to the question of
        "Second is to make sure that iFrame is supported by that website."
    Working...