Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
map_parameter_to_url not working https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4370 |
Page 1 of 1 |
Author: | xega [ 2. Jul 2017, 22:18 ] |
Post subject: | map_parameter_to_url not working |
Hi After updating from v7.4.1 to v7.4.3 (and implementing https) the map_parameter_to_url is not working anymore. My shortcode look like this: Code: [advanced_iframe securitykey="696a4ef4xxcxcxcxcxc18393" use_shortcode_attributes_only="true" src="https://www.hafdal.dk/tng/cemeteries.php" width="100%" height="800" scrolling="auto" id="legstadaleit1" name="legstadaleit" map_parameter_to_url="page" add_iframe_url_as_param="same" resize_on_ajax_jquery="false" ] My iframe is here: http://www.hafdal.dk/legstadaleit/gagnagrunnur/?lang=is&page=undefined and if you try to click some of the links inside the iframe you can see that no page url is being added. Best regards Rakel |
Author: | TinyWebGallery [ 3. Jul 2017, 22:23 ] |
Post subject: | Re: map_parameter_to_url not working |
is the https the problem? you can also use the placeholders in the src: https://www.hafdal.dk/tng/cemeteries.php?page={query-page} Best, Michael |
Author: | xega [ 4. Jul 2017, 00:35 ] |
Post subject: | Re: map_parameter_to_url not working |
Hi again Michael I changed my code to this: Code: [advanced_iframe securitykey="696a4efsfdafdafdafdasfdas5446cd18393" use_shortcode_attributes_only="true" src="https://www.hafdal.dk/tng/cemeteries.php?page={query-page}" width="100%" height="800" scrolling="auto" id="legstadaleit1" name="legstadaleit" map_parameter_to_url="page" add_iframe_url_as_param="same" resize_on_ajax_jquery="false" ] Still have problems with the map_parameter_to_url. Also I noticed that the automatic iframe resize no longer works. All this happened when I changed my src to https instead of http. Best regards Rakel |
Author: | TinyWebGallery [ 4. Jul 2017, 13:04 ] |
Post subject: | Re: map_parameter_to_url not working |
you main page is still http? http://www.hafdal.dk/legstadaleit/gagnagrunnur/?lang=is&page=undefined because the link above already seems invalid to me. If you only change half of the setup you have a completely different scenario! mixing http with https! Then you suddenly need cross origin communication! So what is the entry link. because above I already get an error! If I use different links I get errors in the Javascript console about mixed content! also you have errors like: Mixed Content: The page at 'https://www.hafdal.dk/tng/headstones.php?country=Canada&state=Manitoba&county=R.+M.+of+Lakeview&tree=Tree2' was loaded over HTTPS, but requested an insecure script 'http://cdn.jsdelivr.net/wp/wp-slimstat/trunk/wp-slimstat.js'. This request has been blocked; the content must be served over HTTPS. So you have different problems with your https change also! Best, Michael |
Author: | xega [ 9. Jul 2017, 23:01 ] |
Post subject: | Re: map_parameter_to_url not working |
You are absolutely correct. I thought I had changed my website to https (I have problems with my memory) but when I checked I could see that it wasn't. After fixing that, I no longer had issues. However I still have an issue with the automatic iframe resize, it does not work. See here: https://www.hafdal.dk/legstadaleit/database/?page=s|www.hafdal.dk%2Ftng%2Fgetperson.php%3FpersonID%3DI4179%26tree%3DTree2 Best regards Rakel |
Author: | TinyWebGallery [ 9. Jul 2017, 23:08 ] |
Post subject: | Re: map_parameter_to_url not working |
It does not work because you still have mixed content there: Mixed Content: The page at 'https://www.hafdal.dk/legstadaleit/database/?page=s|www.hafdal.dk%2Ftng%2Fgetperson.php%3FpersonID%3DI4179%26tree%3DTree2' was loaded over HTTPS, but requested an insecure script 'http://www.hafdal.dk/legstadaleit/wp-content/plugins/advanced-iframe/js/ai_external.js'. This request has been blocked; the content must be served over HTTPS. ai_external.js also needs to be loaden from a https site!. Best, Michael |
Author: | xega [ 11. Jul 2017, 04:33 ] |
Post subject: | Re: map_parameter_to_url not working |
Ah! Of course! I have now changed that and the iframe resize is working, but..... When a page loads there is a scrollbar on the iframe, not scrollable but still... any way to remove that scrollbar? It doesn't really change anything so if it is not possible, that is okay. It just annoys me a little |
Author: | TinyWebGallery [ 11. Jul 2017, 17:38 ] |
Post subject: | Re: map_parameter_to_url not working |
I don't see a scrollbar. you can simply set scrolling="no" to remove the scrollbar. Best, Michael |
Author: | xega [ 11. Jul 2017, 21:14 ] |
Post subject: | Re: map_parameter_to_url not working |
Brilliant! Thank you!! |
Author: | TinyWebGallery [ 12. Jul 2017, 16:24 ] |
Post subject: | Re: map_parameter_to_url not working |
You are welcome. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |