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

filter parameters
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4245
Page 1 of 1

Author:  ColinWood [ 8. Mar 2017, 16:35 ]
Post subject:  filter parameters

I've just bought the plugin, this was first attempt using it so please excuse me if I've made an obvious error.
The source URL (https://view-awesome-table.com/-KLuOSDdcWA4cl2JhHUK/view?filterC=myemailaddress)I'm passing into the short code has a filter setting which works when viewed by itself but when shown in the iframe. The page loads within but the filter setting is not applied.

The URL of the page with the iframe is sciencerevision.club/junk/ Is this the problem, and if so is there a work around I can use without having to change the site url. I plan on using purchasing an ssl certificate for the site when I'm finished creating the content it will host - will that sort it?

Author:  TinyWebGallery [ 8. Mar 2017, 18:24 ]
Post subject:  Re: filter parameters

I only see a login like I see if i open it directly. the url in the iframe is
https://view-awesome-table.com/-KLuOSDdcWA4cl2JhHUK/view?filterD=your-email

which looks fine for me

Author:  ColinWood [ 8. Mar 2017, 19:37 ]
Post subject:  Re: filter parameters

Apologies about the log in issue. Google changed some authentication settings since I last used the system and I needed to share the google spreadsheet outside my Google apps domain for you to see it - which I've now done.
Thanks for getting back to me. You can log in to the site hosting the iframe as srcuser1@hhgsvle.org password sxbV8rmo#TzS9aiJMz&812r$
I don't mind giving you admin access so you can see the back end, but I'd need a way of giving you the access details privately.

The table shown on the page can be filtered using parameters passed into the url. If you add a 9 instead of the "your-email" then it returns a filtered table showing only certain records. You can also see the filter parameter in the UI controls at the top. When this is done within the iframe then the filters are not applied.
Link to image of filter applied and working outside the iframe https://drive.google.com/open?id=0BwArux2xWsnHOXdUakR4cVJkOUU
Link to image of the same url used inside the iframe, where the filter is not being applied https://drive.google.com/open?id=0BwArux2xWsnHR1EtNmxidzNfNms

Author:  TinyWebGallery [ 9. Mar 2017, 21:47 ]
Post subject:  Re: filter parameters

Not sure I understand. But if you e.g. use firefox an click right on the iframe you always see the iframe url that is used. But I don't think this is a configuration option that can be solved within the plugin.

Best, Michael

Author:  ColinWood [ 10. Mar 2017, 12:34 ]
Post subject:  Re: filter parameters

Thanks for your continued help. I've done some more work on this and discovered the fault does not lie with your plugin, it's the page I trying to add which has the odd behaviour. Viewed as a link the command added to the url works fine, but when viewed in an iframe it fails to work.

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