Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 14:56

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Auto Height not working
PostPosted: 22. Jul 2019, 03:39 
Offline

Joined: 22. Jul 2019, 03:35
Posts: 4
I need some help setting the advanced iframe up for my demo website. I tried many things but nothing seems to work. I believe I am missing something. My both sites are on a subdomain.

Page to review: https://demo.octozy.com/index.php/myaccount/

The height is not getting adjusted automatically.


Top
 Profile  
 
PostPosted: 22. Jul 2019, 07:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You need to set the domain properly. See the error in the console:

portal.jsp?c=436027609&p=436052031&g=436052434:25 Uncaught DOMException: Failed to set the 'domain' property on 'Document': 'demo.octozy.com' is not a suffix of 'cloud.octozy.com'.
at https://cloud.octozy.com/prod1/portal/portal.jsp?c=436027609&p=436052031&g=436052434:25:24

You need to set it to octozy.com

Best, Michael


Top
 Profile  
 
PostPosted: 22. Jul 2019, 14:06 
Offline

Joined: 22. Jul 2019, 03:35
Posts: 4
Thanks for your reply. I tried both Octozy.com and cloud.octozy.com. But none of them work either. Any other ideas please.


Top
 Profile  
 
PostPosted: 22. Jul 2019, 22:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Please see http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/sub-domain-auto-height-and-css-modifications

there you see a working setup. You need to specify the domain at the parent AND in the iframe.
in the parent the plugin can take care. But inside the iframe you have todo this.

Best, Michael


Top
 Profile  
 
PostPosted: 23. Jul 2019, 00:59 
Offline

Joined: 22. Jul 2019, 03:35
Posts: 4
Thanks for the direction on this. The example was perfect. I managed to get it working now. appreciate the support regarding this.


Top
 Profile  
 
PostPosted: 13. Sep 2019, 02:28 
Offline

Joined: 22. Jul 2019, 03:35
Posts: 4
I have again a similar problem for Auto height not working. I have posted this message via Envato as well but realised you have a support forum here. This time my two websites have different domain and hence am using external workaround.

Although the configuration isn't working correctly at this stage.

iFrame used in https://aabangladesh.com/member-dashboard/

iFrame Source URL: https://cloud.octozy.com/router/servlet/Portal?c=436220106&p=436244335&g=436244742

On the sorce website, I have included following: <script src="https://aabangladesh.com/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>

My Shortcode looks like below: [advanced_iframe securitykey="My Security Key Value" src="https://cloud.octozy.com/router/servlet/Portal?c=436220106&amp;p=436244335&amp;g=436244742" use_shortcode_attributes_only="true" height="1700" width="100%" scrolling="no" onload_resize="true" hide_page_until_loaded="true" iframe_content_id="#octozy" iframe_content_styles ="color:#ff0000" enable_external_height_workaround="true"]

Not sure what else is required. Please assist.


Top
 Profile  
 
PostPosted: 13. Sep 2019, 12:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Can you please set the postMessage setting in the administration to debug and save? So I can see what is happending in the console.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy