Hi,
I tried to open a link in a lightbox and found a solution in this forum. You wrote that I just need to add ?iframe=true to the URL.
Unfortunately it doesn’t work. The lightbox just shows a big black block.
The site is added as private content.
Best regards
Hey Julian,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Best regards,
Nikko
Okay!
Hi Julian Post,
Thanks for giving us the admin access.
I had also found out that you are following the instruction here: https://kriesi.at/support/topic/open-lightbox-with-an-iframe/
however the part that says adding ?iframe=true is needed is true but you also need to add the php code/script which is written by the enfold user that posted the thread, also what’s missing is the class name which is also required. Please try to add it also.
Best regards,
Nikko
Thanks for your help, Nikko.
I added the code to functions.php and the css class to the link, but it doesn’t work as expected.
You can find the link in the bottom of the page (“Open”). Can you give me a hint?
Best regards
Hi Julian Post,
Yes, can we also request for ftp access? so we can edit functions.php via ftp.
Just post the details in private content.
Best regards,
Nikko
Hi,
Thank you for the update.
The lightbox is opening correctly but your server is denying the request because the X-FRAME-OPTIONS is set to “deny”. Please ask your hosting provider to set the X-Frame-Options to “SAMEORIGIN” or allow a certain url to open the page in an iframe. This is the error from the console when you open the link.
Refused to display 'https://leihhaus.contunda.com/?iframe=true' in a frame because it set 'X-Frame-Options' to 'deny'.
Best regards,
Ismael