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, 16:27

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  [ 12 posts ] 
Author Message
 Post subject: ?id=1 or other id's
PostPosted: 11. Sep 2017, 14:24 
Offline

Joined: 11. Sep 2017, 14:12
Posts: 6
Hi,

Sorry if this has been answered already, but im having a little issue with the plugin

I want to have 1 frame showing which has selection menus (which works great by the way)
The place i want to link to for example is calc.php
each item i want to link to would be calc.php?id=1, calc.php?id=2, calc.php?id=3......
How can i make one iframe which i can point to a certain item within the iframe, without having to make loads of pages linking to each iframe, If you understand what i mean

Thanks


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 11. Sep 2017, 15:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
So you only have 1 iframe where the links are and where is the content?
Or is calc.php also in an iframe? So you have e.g. 3 links?
calc.php?id=1, calc.php?id=2, calc.php?id=3

and then an iframe with calc.php?
and inside 3 elements with id=1 2 and 3?

then the iframe url should be actually calc.php#1 (which would be an ancor) ?

Best, Michael


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 11. Sep 2017, 15:42 
Offline

Joined: 11. Sep 2017, 14:12
Posts: 6
Basically pulling a calculator from a folder in the website, to integrate it into the site while keeping the header and footer

The iframe is in the middle

for example www.xxx.co.uk/newcalc/ = calculator iframe page embedded on a wordpress page
which pulls from www.xxx.co.uk/calc/calc.php

if i navigate to ....co.uk/calc.php?id=1 that will take me to the first item in the calculator
if i navigate to the ....co.uk/newcalc/ there is no way i can see to add the indexes to force the iframe to load from that specific item in the menu


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 11. Sep 2017, 17:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't understand what you mean with newcalc. You have a menu with n entries and the target is the iframe?

Best, Michael


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 11. Sep 2017, 19:09 
Offline

Joined: 11. Sep 2017, 14:12
Posts: 6
Ok it's really hard for me to explain but
Www.flavour-boss.co.uk/calc/calc.php is the calc
Www.flavour-boss.co.uk/calc/calc.php?id=1 shows the first boss shot
Www.flavour-boss.co.uk/calc/calc.php?id=2 shows second
I'm implementing through
Www.flavour-boss.co.uk/bosscalc
But how can i make it so I can choose whether it selects shot 1,2,3 by through that iframe page
Multiple Iframes just fill the page up
I hope that helps

Feel free to remove the links from this post after you take a look
Thanks


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 11. Sep 2017, 22:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Where is the menu you want to select from?
Because I think you simply have to define the iframe as the target.

Best, Michael


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 12. Sep 2017, 12:15 
Offline

Joined: 11. Sep 2017, 14:12
Posts: 6
Hopefully that should help

As you can see it changes the first drop down
I want that implementation into
https://flavour-boss.co.uk/bosscalc

Thanks


Attachments:
File comment: https://flavour-boss.co.uk/calc/calc.php?id=3
Capture3.PNG
Capture3.PNG [ 3.64 KiB | Viewed 3178 times ]
File comment: https://flavour-boss.co.uk/calc/calc.php?id=2
Capture2.PNG
Capture2.PNG [ 3.54 KiB | Viewed 3178 times ]
File comment: https://flavour-boss.co.uk/calc/calc.php?id=1
Capture.PNG
Capture.PNG [ 3.73 KiB | Viewed 3178 times ]
Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 12. Sep 2017, 20:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I see this. But where should the links be that open this? in the menu? Because as I have written. set the target of the link to the id of the iframe and this should work already.

Best, Michael


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 13. Sep 2017, 10:19 
Offline

Joined: 11. Sep 2017, 14:12
Posts: 6
Sorry i still don't think you understand

I can set the target link with the ID no problem, however it only works with 1 single ID, I don't want to create multiple iframes on multiple pages. I was wondering if there was a way to change to a different id "on the fly" so to speak

I'm bad at explaining things sorry

Luckily you seem to have lots of patience :D


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 13. Sep 2017, 11:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you are right. I still don't understand. Where are the different links?
like
Www.flavour-boss.co.uk/calc/calc.php?id=1

Because if you 5 of them on the page you have 5 links. and all have the iframe as target...

Best, Michael


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 14. Sep 2017, 11:16 
Offline

Joined: 11. Sep 2017, 14:12
Posts: 6
i don't have 5 links,
flavour-boss.co.uk/calc/calc.php is the link
within the php file itself i have allowed linking using the ?id= (it pulls the id you select from the select your boss shot dropdown)

The iframe is located at flavour-boss.co.uk/bosscalc
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ That iframe only shows the default setup, and the wordpress page content was
[advanced_iframe securitykey="****" src="https:/flavour-boss.co.uk/calc/calc.php" id="iframe1" name="iframe1" width="100%"]

i cant add ?id=2 at the end of the website url as it does nothing (for example flavour-boss.co.uk/bosscalc/?id=2)
wordpress adds the / as its a page with an iframe, not a static page like where im pulling the iframe content from

again the iframe content pulls from flavour-boss.co.uk/calc/calc.php

We have 40 different shots in the calculator, so making 1 page containing 1 iframe for each shot selection would be too 'bulky'

So i want to be able to make the page and frame focus on a certain point depending how the page with the iframe is loaded

do i need to create a second iframe with all the id's in, and then point my main iframe to the second iframe, but then how do i make it select the exact frame i want by only having one showing

i have no idea how to use the ID/name option inside a frame

for example i tried making another iframe page

[advanced_iframe securitykey="****" src="https:/flavour-boss.co.uk/calc/calc.php?id=1" id="iframe1" name="iframe1" width="100%"]

[advanced_iframe securitykey="****" src="https://flavour-boss.co.uk/calc/calc.php?id=2" id="iframe2" name="iframe2" width="100%"]

[advanced_iframe securitykey="****" src="https://flavour-boss.co.uk/calc/calc.php?id=3" id="iframe3" name="iframe3" width="100%"]

[advanced_iframe securitykey=****" src="https://flavour-boss.co.uk/calc/calc.php?id=4" id="iframe4" name="iframe4" width="100%"]

i see it has ID tags for each one, however it shows all 4 iframes on 1 page, i don't want that, i want each part to be shown only when asked to pull that option

i really don't know the best way to explain it, i hope that is a bit more clearer


Top
 Profile  
 
 Post subject: Re: ?id=1 or other id's
PostPosted: 14. Sep 2017, 11:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is what I mean. You need a selector somewhere!
Not even in an iframe. You simply e.g. have a list of links.

"depending how the page is loaded" is important. is is loaded differently?
Because e.g. if you have a parameter in the url this can be forwarded to the iframe.

Best, Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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