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

iframe stripped from site
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3955
Page 1 of 2

Author:  joshcue [ 11. Oct 2015, 19:28 ]
Post subject:  iframe stripped from site

hey, i am haveing trouble with the short code braking my site.
When i inclued:

[advanced_iframe securitykey="************" src="http://rcm-eu.amazon-adsystem.com/e/cm?t=phonstar-21&o=2&p=48&l=ur1&category=books&banner=0816HN2RK1ZTD5CRJJG2&f=ifr"]

i have try adding:

name="amazon-1" class="amazonbanner" style="margin-left:auto; margin-right:auto"

and many other settings.

When i place the short code on the Home Page Extra Option in the weblizar enigma pro theme the home page is stuck on the top part of the screen without a side scroll bar.
http://www.phonicsstars.co.uk/

Author:  TinyWebGallery [ 11. Oct 2015, 20:58 ]
Post subject:  Re: iframe stripped from site

What does "Extra Option in the weblizar enigma pro theme" mean?

If you include the shortcode and look at the source of the page: Go to the bottom an check if there is maybe an error. Maybe my plugin and the theme do interfere somehow.

Of do you have it online somewhere right now.

Best, Michael

Author:  joshcue [ 11. Oct 2015, 22:15 ]
Post subject:  Re: iframe stripped from site

the way the theme is built the front page is in section and is customised from a panel with the option to add or remove elements of the front page.the second of which in the setup i have it in is the extra optional text display panel. it's a rich text editor that is just like any other and is inserted in the the front page under the slider. i am running diagnostic of plugins that could be causing a conflict but it is the theme that is affected.

Author:  joshcue [ 11. Oct 2015, 22:49 ]
Post subject:  Re: iframe stripped from site

Okay it's not a plugin conflict and i'm finding this very frustrating.

Author:  joshcue [ 11. Oct 2015, 23:13 ]
Post subject:  Re: iframe stripped from site

i have done more testing and if i place the short code on any page, that page then is stuck and unable to scroll down

Author:  TinyWebGallery [ 12. Oct 2015, 11:05 ]
Post subject:  Re: iframe stripped from site

Can you place it on a test page and send me a link?

Best, Michael

Author:  joshcue [ 12. Oct 2015, 13:02 ]
Post subject:  Re: iframe stripped from site

Test Link

http://www.phonicsstars.co.uk/recormended-reading/

i have added a featured image, heading, iframe and my blog manager to this page.

Author:  TinyWebGallery [ 12. Oct 2015, 13:28 ]
Post subject:  Re: iframe stripped from site

What do you want to archive and which configuration have you done?
Because "may other options" can be everything.

For me it seems you have configured that the links do open in an extra layer with additional settings I don't know so far.
And if you open a layer the scrollbars of the main page are disabled to get a little more space like shown here:

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer

You can use the shortcode generator to show all settings you have done in one shortcode.

Best, Michael

Author:  joshcue [ 12. Oct 2015, 13:35 ]
Post subject:  Re: iframe stripped from site

now i have removed all of the short code and it now looks like this:

[advanced_iframe securitykey="********" src="http://rcm-eu.amazon-adsystem.com/e/cm?t=phonstar-21&o=2&p=26&l=ur1&category=fire_hd_kids_edition&banner=1Q6CB7N9SKNDF405PBG2&f=ifr"]

still the iframe is not displayed and my page is broken.

Author:  joshcue [ 12. Oct 2015, 13:43 ]
Post subject:  Re: iframe stripped from site

Changed some setting and now have the page working but iframe is displayed with a slider. I will go through the setting again.

Author:  TinyWebGallery [ 12. Oct 2015, 13:54 ]
Post subject:  Re: iframe stripped from site

If you post a shortcode I need all settings. Means the one from the shortcode generator as otherwise I only see the settings you overwrite from the defaults.

Best, Michael

Author:  joshcue [ 12. Oct 2015, 14:13 ]
Post subject:  Re: iframe stripped from site

[advanced_iframe securitykey="********" use_shortcode_attributes_only="true" src="http://rcm-eu.amazon-adsystem.com/e/cm?t=phonstar-21&o=2&p=48&l=ur1&category=books&banner=0816HN2RK1ZTD5CRJJG2&f=ifr" scrolling="none" class="amazonbanner" style="margin-left:auto; margin-right:auto" name="amazon-1" allowfullscreen="true" hide_page_until_loaded="true" hide_content_until_iframe_color="#ffffff" enable_responsive_iframe="true" enable_lazy_load="true" enable_lazy_load_fadetime="200" enable_lazy_load_manual="true" show_iframe_as_layer="true" onload_resize_width="true" resize_on_ajax_jquery="false" ]

Author:  TinyWebGallery [ 12. Oct 2015, 17:12 ]
Post subject:  Re: iframe stripped from site

So you want to use show_iframe_as_layer="true"?

than please remove most of the other settings as they have nothing to do with it. Please check the example
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer

Things like

scrolling="none" class="amazonbanner" style="margin-left:auto; margin-right:auto" allowfullscreen="true" hide_page_until_loaded="true" hide_content_until_iframe_color="#ffffff" enable_lazy_load_manual="true" onload_resize_width="true" resize_on_ajax_jquery="false"

hide_content_until_iframe_color="#ffffff" does cause to remove your scrollbars but in your case the iframe is not shown - therefore this is nothing for you.

And than you need a trigger. The target alone is not enough as the layer has to be opened as well.
change_parent_links_target="a#linklayer2" is needed or show_iframe_as_layer="external"

Best Michael

Author:  joshcue [ 12. Oct 2015, 23:50 ]
Post subject:  Re: iframe stripped from site

After Playing with the setting i have managed to get this working

[advanced_iframe securitykey="*****" use_shortcode_attributes_only="true" src="http://rcm-eu.amazon-adsystem.com/e/cm?t=phonstar-21&o=2&p=48&l=ur1&category=books&banner=0816HN2RK1ZTD5CRJJG2&f=ifr" width="100%" height="100%" class="amazonbanner" style="margin-left:auto; margin-right:auto align="middle"" name="amazon-1" hide_content_until_iframe_color="#ffffff" enable_lazy_load="true" enable_lazy_load_reserve_space="false" enable_lazy_load_fadetime="200" ]

style="margin-left:auto; margin-right:auto align="middle"" this part dosen't do as asked?
Advice?

P.S. Never realised iframe's could be such a complext beast.

thank you for your time

Author:  TinyWebGallery [ 13. Oct 2015, 00:11 ]
Post subject:  Re: iframe stripped from site

I never thought this to when I started this. And if you will see the next version it will even get cooler ;). Scrolling on ios for example...

About your settings. You need to check with web developer tools. Because the css settings does overwrite each other very often and therefore they don't work.

There is a reason why I named this plugin advanced. Because for crating websites you need web developers. And for integrating 2 different ones it is even much harder. And I try so solve most of this issues with basic css/html knowledge.

Best, Michael

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