Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
add_iframe_url_as_param gives 'strange' URL https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4562 |
Page 1 of 1 |
Author: | marcverkade [ 6. Mar 2018, 14:22 ] |
Post subject: | add_iframe_url_as_param gives 'strange' URL |
I use the 'add_iframe_url_as_param' so my customers can press F5 to stay on the same page in the iFrame and that works flawless. The only thing I wonder is if the generated URL can not be somewhat 'cleaner'... For example: After visiting this page: https://nllekk-tahlequah.savviihq.com/webshop/?page=/assortiment/lunch-bio The URL becomes like thios with 's|' and %2F as /: https://nllekk-tahlequah.savviihq.com/webshop/?page=s|%2Fassortiment%2Flunch-bio Why can't that be the 'original' URL? In my opinion s| is not nescessary since you have the original URL which contains http or https And the &2F can easily translated to / before changing the URL. Thanx for your time and energy! Regards, Marc Here is the shortcode. I use the external workaround... [advanced_iframe securitykey="YourKey" use_shortcode_attributes_only="true" src="https://webshop.lekkerbrood.nl" width="100%" height="2000" scrolling="no" enable_ios_mobile_scolling="true" id="EVWebshop" name="EVWebshop" url_forward_parameter="ALL" map_parameter_to_url="page" add_iframe_url_as_param="remote" add_iframe_url_as_param_prefix="webshop.lekkerbrood.nl" hide_page_until_loaded="true" show_iframe_loader="true" enable_responsive_iframe="true" use_post_message="true" enable_external_height_workaround="true"] |
Author: | TinyWebGallery [ 8. Mar 2018, 13:04 ] |
Post subject: | Re: add_iframe_url_as_param gives 'strange' URL |
if you have add_iframe_url_as_param_prefix you have the full url. s| is something which I really can improve. Because normally I do know the url (only in cases of redirect is is different) / is encoded because I do encode the whole url so that this is a valid parameter. I need to check if I can add a special case here. |
Author: | TinyWebGallery [ 9. Mar 2018, 00:33 ] |
Post subject: | Re: add_iframe_url_as_param gives 'strange' URL |
I tested it locally with the changes. Work and looks better now. Are you on 7.5.4? because then I can send you the ai.js you only would need to change. Best, Michael |
Author: | TinyWebGallery [ 15. Jul 2019, 23:53 ] |
Post subject: | Re: add_iframe_url_as_param gives 'strange' URL |
check 2019.7 - there are new features here. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |