-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iframe in wordpress website don't work #473
Comments
I have tested with the php code and it's the same error. |
@fcreach Can you send me the real URLs to sergey [at] srgdev.com |
Thank you @SergeyMosin . I have send the message. |
@SergeyMosin. I have resolved my issue. It was because the first time i have inject the occ line the url was wrong. And the next time when i injected the good line it not was take by nextcloud without error message. Sorry for th derangement and thank you for your intervention. |
Found this issue as I also see errors trying to embed my URL ... May I add my URLs ... nextcloud: https://oc.oops.co.at/nextcloud/ appointments: https://oc.oops.co.at/nextcloud/index.php/apps/appointments/pub/ilXXXXXX%3D%3D/form wordpress: https://www.oops.co.at user in nc: sgw |
Hello,
I am sorry for this request, but I was not able to resolve my problem by following the documentation and recommendations read.
I'm trying to integrate appointments into an iframe with a WordPress site.
The appointment url: https://docs.myservernextcloud.net/index.php/apps/appointments/embed/gwiLZ%2BaPwbDlRsk%3D/form
The website url: https://www.soudomaine.domaine.fr
The page of the website url: https://www.soudomaine.domaine.fr/index.php/page-d-exemple/
My nexcloud user: toto
I did this:
On nextcloud
php occ config:app:set appointments "emb_afad_toto" --value "www.soudomaine.domaine.fr"
And
php occ config:app:set appointments "emb_cncf_toto" --value "https://www.soudomaine.domaine.fr/index.php/page-d-exemple/?some_param_name="
On wordpress. In the header `
_<script type="text/javascript" async="async">
var urlRDV = window.location.href.includes('index.php/page-d-exemple/');
if (urlRDV) {
window.addEventListener('DOMContentLoaded', function() {
var src = "https://docs.myservernextcloud.net/index.php/apps/appointments/embed/gwiLZ%2BaPwbDlRsk%3D/form";
var appointmentParam = "apphash"
})();
}
</script>_
`
On the page
<iframe id="myAppointmentFrame" title="Appointment form" frameborder="0" style="height: 100rem; width: 100%;" src= "https://docs.myservernextcloud.net/index.php/apps/appointments/embed/gwiLZ%2BaPwbDlRsk%3D/form" name="myAppointmentFrame"></iframe>
In the iframe, the message "docs.myservernextcloud.net does not allow connection." appear.
Can you help me please ?
Thank you
The text was updated successfully, but these errors were encountered: