Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Open a page Wordpress with iframe from external link
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=6789
Page 1 of 1

Author:  paolob [ 12. Apr 2020, 13:43 ]
Post subject:  Open a page Wordpress with iframe from external link

Hi,
i have this problem and i hope someone can help me!
I have, in wordpress web site, a chatbot that generate a URL from a input insertby the user. I would like that, if click the link into my chatbot, wordpress, into a specific page, opens the URL into the iframe.
Thanks!
Paolo

Author:  TinyWebGallery [ 12. Apr 2020, 22:15 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

Hi.

So the next page does contain a header + an iframe and in the iframe the page which was passed e.g. in the url is shown?
This should be possible.

Something like that?
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/advanced-height-features-with-headers-and-fullscreen-iframes
+ a url given by the url?
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/url-features#h48

Best, Michael

Author:  paolob [ 13. Apr 2020, 06:58 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

Thanks Michael for your answer!!!
So i must create a page in wordpress with the iframe (e.g. www.mysite.com/mypage), that i've allready done.
I'm sorry but i don't understand how do i create the external link with the URL that i would like to see into the iframe (e.g. External Link: http://www.mysite.com/my page + what? - e.g. URL iframe: www.mynewurl.it).
Thanks!
P

Author:  TinyWebGallery [ 13. Apr 2020, 12:26 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

This is the coding you have to do.

on the page where the "selector" for the bot is you have to generate the link dynamically.
The link is than something like www.mysite.com/mypage?iframe=<the link you generate>

Best, Michael

Author:  paolob [ 13. Apr 2020, 14:56 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

Thanks Michael!
So i'll use: www.mysite.com/mypage?iframe=https://www.corriere.it into my chatbot bubble but into the wordpress page which is the shortcode that i must use? [advanced_iframe ...]
Thanks
Paolo

Author:  TinyWebGallery [ 13. Apr 2020, 19:39 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

Please see my posts before:

"The examples can be found at "Map parameter to url" on the "Url parameter handling" tab. If this is unclear please contact me and I add some more examples here."

I don't know how you want to display the page. So Please check the links I have already sent you.

Best, Michael

Author:  paolob [ 13. Apr 2020, 20:49 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

Sorry Michael but for me the examples is unclear...
Here you are the recap:
1) i've a page in wordpress that has an header and a footer. in this page i put a iframe with a shortcode [advanced_iframe src="..."]. Which shortcode i must use? How do i set the src parameter?
2) The wordpress page name is: www.mysite.it/mypage.
2) I have a chatbot that generate the url. Which is the url that i must set?

Thanks for your support!
Paolo

Author:  TinyWebGallery [ 13. Apr 2020, 21:03 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

1. http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/advanced-height-features-with-headers-and-fullscreen-iframes
shows you an iframe which can subtract a header footer!

then you can set
map_parameter_to_url="iframe"

if you then open your page
www.mysite.it/mypage?iframe=<the chatbot url>

the shortcode has NO src. Because this is take from the url.

Best, Michael

Author:  paolob [ 13. Apr 2020, 21:33 ]
Post subject:  Re: Open a page Wordpress with iframe from external link

Thanks

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/