Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
This link I copied from the website of Creative Commons. It works only with the right (or option) click and not directly with a straight mouseclick. I pasted it in the text on a page copy section. On my website I added some dutch text but in places that should not affect the code. No changes from the original code in effect.
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons-Licentie" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />Dit werk valt onder een <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Naamsvermelding-NietCommercieel-GelijkDelen 4.0 Internationaal-licentie</a>.
Any one with a solution?
Donald
Offline
It works for me in a test page using your code.
Can you post a link to a page where it’s not working for you?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I noticed this in the past and was wondering why.... Your page setup is strange since your photography site is embedded in a frameset:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
</head>
<frameset rows="100%,*" cols="*" >
<frame name="subdom" src="index.php" marginwidth="0" marginheight="0" scrolling="auto" frameborder="NO">
<frame src="dummy.html">
</frameset>
<noframes>
</noframes>
</html>
Going to https://www.fotograafdonald.nl/2019/, the links work properly. I would get rid of this top-level frameset thingy.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
no idea what that is for and where it is from Daniel????
Offline
Your hosting company may be doing this. Is 2019 a subfolder or just a page you created? I there anything special you're doing?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
2019 is a folder in the root of my account. the way I keep things apart. the rest... I wouldn't know.
Offline
Do you also have a page named 2019?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
no idea what that is for and where it is from Daniel????
Somehow you defined that the 2019 folder is the root of your site I guess. Who are you hosting with?
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
I have a php-script redirecting multiple domains to their rootfolders. This website is in the folder 2019, there is no page in the website called 2019. My breadcrumbs are having trouble to to act as links and when they do succeed and show the underlaying albums I can click the album but nothing happens.
Offline
Does your script do more than redirect?
It looks like a frame set is being created to “house” the redirected site. Is the script doing that? If not, it’s likely something your host is doing.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Rod,
I mailed you two files, the screenprint is a mistake so delete that. The second has the php-file.
I placed this posting 2 hours ago but it seemes it never reached the community
Offline
I don’t really know what’s happening with that last line: Header("Location: $url");
(I can infer what the others do)
Have you discusses the frame set creation with your host.
For Daniel or Ben or someone else who knows php, this is the code Donald sent to me
<?php
$host=getenv("HTTP_HOST");
if($host == "www.fotograafdonald.nl") { $url = "/2019/index.php"; }
elseif($host == "fotograafdonald.nl") { $url = "/2019/index.php"; }
elseif($host == "www.fotogravisie.nl") { $url = "/fotogravisie/index.html"; }
elseif($host == "www.streetmagic.nl") { $url = "/streetmagic/index.html"; }
elseif($host == "fotogravisie.fotograafdonald.nl") { $url = "/fotogravisie/index.html"; }
elseif($host == "backlight.fotograafdonald.nl") { $url = "/backlight/index.php"; }
elseif($host == "www.fotografiemodellen.nl") { $url = "index.shtml"; }
elseif($host == "www.fotografieworkshops.nl") { $url = "index.shtml"; }
else { $url = "index2.html" ; }
Header("Location: $url");
?>
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Something strange just came up
I checked the contents of an album from within the admin module and then ALL links work perfectly
When i address the website normally from the address bar on top of the browser, the links don't work
Offline
could it be this: $host=getenv("HTTP_HOST");
it states HTTP while I use HTTPS?
No not the problem
Last edited by dbfoto (2019-02-19 06:42:34)
Offline
Have you tried removing that redirect file to eliminate it as a cause?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
if I remove it the site won't be found
Offline
Go directly to the site, as if you weren’t relying on the redirect
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
yep that works perfectly
it's possible this started when I swtched from http to https secure... not 100% sure though
Last edited by dbfoto (2019-02-19 06:56:16)
Offline
Maybe try redirecting with .htaccess instead?
You’ll have to google that one or wait for Ben to come along with suggestions
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
i'll wait. it is beyond me and it is bedtime in the Netherlands, tnx so far Rod
Offline
I'm not really following what's going on. Is there a specific URL where links aren't working?
Offline
Hi Ben,
If you go Donald’s site (not using the /2019 url in Daniel’s response) you’ll see the Creative Commons links. Clicking on them does nothing.
Daniel pointed out that his site is in a frame set and that’s probably why the links aren’t working.
He has a php file in the root of his domain that redirects everything. I posted it above. I don’t know what all it does but am wondering if code like that can create a frame set in which the site resides. Or is it something his hosting is doing?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Rod, that link works for me without issue from the page https://www.fotograafdonald.nl/2019/. Tried in Safari and Chrome. The redirect code above shouldn't impact the behaviour of outgoing links.
Offline
Ben,
try going here instead: https://www.fotograafdonald.nl/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I'm not sure why, but it looks like the frame is causing the links to be unclickable.
Offline