• Resolved bowenac

    (@bowenac)


    Looking to do a template override using the templates/join-web-browser.php template… It says this can be overridden by placing it in yourtheme/video-conferencing-zoom/join-web-browser.php however it seems like this is only working for zoom meetings that are accessed from Join Via Browser buttons which opens a new tab etc.

    It looks like the shortcode [zoom_join_via_browser], as well as the gutenburg block Zoom – Join via Browser uses this same template, but it does not pick up the override. It does however seem to work when clicking a join via web browser button from a shortcode [zoom_meeting_post] which like I mentioned, opens a new tab e.g. domain.com/zoom-meetings/test?/?pak=abc&join=abc&type=meeting

    Is there anyway to get the zoom_join_via_browser shortcode to pick up this template override? If I edit this template directly in the plugin it does work… so it’s something with those shortcodes/blocks that is not detecting the override.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Deepen

    (@j_3rk)

    Hi there,

    Try overriding the wp-content/plugins/video-conferencing-with-zoom-api/templates/shortcode/embed-session.php template and see if that works for you ?

    Thread Starter bowenac

    (@bowenac)

    I am looking to override the content inside the iframe when using zoom_join_via_browser shortcode, or Zoom – Join via Browser Gutenberg block… where the fields Name, Email, Join button are. That template embed-session.php template seems to be just the wrapper for the iframe.

    Like I mentioned, the edits do show up for the shortcode, and gutenburg block if I edit this template directly in the plugin video-conferencing-with-zoom-api/templates/join-web-browser.php, but it does not pickup the edits in an override file /mythemename/video-conferencing-zoom/join-web-browser.php

    The template override does seem to work when joining a meeting from a meeting page and clicking on join via web browser button, which opens a new tab for the same page but with the url parameters. e.g. zoom-meetings/event-name/?url_params

    Based on this, it seems to me that the shortcode and gutenburg block is not aware of the template override for some reason.

    I did create a template override at mythemename/video-conferencing-zoom/shortcode/embed-session.php just to see if it would then pick it up but it does not.

    Does that make sense?

    Plugin Author Deepen

    (@j_3rk)

    Hi @bowenac

    Thank you for making some time to explain the details here. I have identified and pushed an update “4.0.2” regarding this. It should be fixed now.

    Please update and let me know if the issue persist.

    Thread Starter bowenac

    (@bowenac)

    Thanks, looks like that solved it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘join-web-browser template override not working with shortcode’ is closed to new replies.