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 19. Apr 2024, 20:35

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  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 6. Feb 2015, 06:25 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
the option to "Show only one element" has stopped working after the last update pro or free version. Now all of the sudden the whole frame is shown and "Show only one element" has no affects at all.


Top
 Profile  
 
PostPosted: 6. Feb 2015, 10:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Are you one the same or a remote domain?
And from version did you update?

Best,
Michael


Top
 Profile  
 
PostPosted: 6. Feb 2015, 10:35 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
Hello Michael,
I went from 6.3 to 6.3.1 and I'm on the same domain just placing iframe around another page served up from the same site. I did recently also take the system from my test environment to live and had to change the "site name" within Wordpress but even then it had been showing "Show only one element" just fine.


Top
 Profile  
 
PostPosted: 6. Feb 2015, 12:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
In 6.3.1 I have not changed anything at this feature.
Do you get a Javascript error?

Best, Michael


Top
 Profile  
 
PostPosted: 6. Feb 2015, 18:01 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
Looking back at the system I used as test system it is at version 6.2.3 so I may have been wrong on the version. I get no java or other errors I can visibly see or in any of the system log files


Top
 Profile  
 
PostPosted: 6. Feb 2015, 18:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have an url?


Top
 Profile  
 
PostPosted: 6. Feb 2015, 20:55 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
Here is the URL: http://dhoytt.com/snake-ice-radio-blog/


Top
 Profile  
 
PostPosted: 7. Feb 2015, 20:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Can you tell me where? because I sonly see the ai.js but no iframe.

6.3.1 is running here:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications#e7

Do you use this function on the same domain or do you use the external workaround?

Best, Michael


Top
 Profile  
 
PostPosted: 7. Feb 2015, 23:40 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
My apologies I did not give you the full URL as I had been working on different items on the site changing where I wanted the pages to fall:

This is where the iframe is located and I will keep it there for you to give me feedback.

I still have my internal only site which is a direct duplicate of via virtual machine duplication running 6.2.3 at this time responding beautifully as it has since I tried out Advanced iFrames. I just cannot put my finger on what is different save the version. I can update that to 6.3.1 to see if there is a difference if you think that may help narrow the issue down.


Top
 Profile  
 
PostPosted: 8. Feb 2015, 00:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The more information you give me the better. The only thing I have changed is to add another option where events are also copied.
so if you have an example for me where it is not working it would help.

Best, Michael


Top
 Profile  
 
PostPosted: 8. Feb 2015, 17:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I think I have the solution. how have you defined show_one_element_only?
Because in 6.3 I removed a hardcoded # that the settings for local and remote are the same.

So I think you only have to add the # at your setting.

Best, Michael


Top
 Profile  
 
PostPosted: 9. Feb 2015, 01:21 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
Michael where should I place the "#"?

This is the current string I use: "#currently_playing_wrapper,#recently_played_wrapper,#listener_count" that used to work.

I tried doubling the "#" but that did not help.


Top
 Profile  
 
PostPosted: 9. Feb 2015, 10:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is not a valid config for "show_one_element_only". you have defined 3 parameters!

You are sure you tell me the right setting?


Top
 Profile  
 
PostPosted: 9. Feb 2015, 18:18 
Offline

Joined: 6. Feb 2015, 04:34
Posts: 8
Yes even if I use "#currently-playing" for Show only one Setting it no longer works.

Attachment:
show-only-oneelement-setting-1.jpg
show-only-oneelement-setting-1.jpg [ 100.87 KiB | Viewed 3595 times ]


Top
 Profile  
 
PostPosted: 9. Feb 2015, 21:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Found it. The problem was that my optimization was at the wrong parameter.

For a quickfix please open advanced-iframe.php

look for
aiShowElementOnly

$onload_str .= ';aiShowElementOnly("'.$id.'","'.$onload_show_element_only.'");';

add the #
$onload_str .= ';aiShowElementOnly("#'.$id.'","'.$onload_show_element_only.'");';

Save and retry. I will fix this in the next small update.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 18 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