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.
I loose all icons in the Gallery if i navigate back in the gallery
also the www. in front of my adress disapears
any help?
http://www.ghahn.de/gallerien/frohnauer … ertha-bsc/
thank you
Guido
Last edited by gh69 (2015-06-09 16:08:29)
Offline
You've got cross-domain issues.
http://ce3wiki.theturninggate.net/doku. … _web_fonts
Offline
I created the .access file but then i got the internal server error
Offline
you may have set it up to rewrite to suppress the www when it looks like you need to make sure all urls have the www.
Maybe try this instead in your .htaccess file:
http://stackoverflow.com/questions/4916 … eneric-way
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
thank you for the answers
but i do not have a subdomain
Offline
as soon as i put any .htaccess file in the root folder , the internal server error appears
Offline
but i do not have a subdomain
a subdomain has nothing to do with it. That rewrite simply makes sure that you'd have http://www.yoursite.com instead of http://yoursite.com
if placing .htaccess in the root of your site is causing problems, you should probably contact your host
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
sorry, just to understand , why only with the breadcrumb navigation.
as soon i turn off breadcrumbs everything is fine
Offline
probably has to do with the logic that Publisher uses to display breadcrumbs
Your version of Publisher (2.0.2) is quite a bit behind. The current version is 2.2.1a
http://ce4.theturninggate.net/docs/doku … _changelog
First try updating to the latest version of Publisher
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
just updated Publisher , TTG-Be and published the gallery new.
same problem.
my host is 1&1 germany.
don´t know what to do
Offline
Since breadcrumbs are part of Publisher, this is more of a Publisher issue. I'll move the topic over there so that Ben will be more likely to see it.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Be sure to check your Publisher API URL as well. It should match up with the rest of your site after any redirects are taken into consideration.
From an email exchange with Ben awhile back:
"So if there are redirects from non-www to www, then the API URL should begin with www (and vice versa)."
I don't know if this affects the breadcrumb logic, but it's something else to check
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
after sleepless night i have to disable breadcrumbs in all of my galleries.
but all visitors complained about navigate back in my galleries bevor the breadcrumb activation.
any idea how to cope with this?
thank you for your help
Offline
wait for Ben to chime in. Or you can PM or email him.
He'll probably need access to ttg-be and perhaps ftp access. He may need Publisher logs.
More info here: http://ce4.theturninggate.net/docs/doku … g_for_help
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Breadcrumbs are the designed solution.
You will need to create the .htaccess file. Contact your host to verify that .htaccess support is enabled for your domain, then go through the example we provide, function by function, line-by-line, and try things out. There are comments embedded in the example, so you may need to make some adjustments to the code. The mere existence of the file should not cause any error; an error should only occur if something in the file is incorrect.
Offline
The issue is that the URL constructor in TTG BE is using the variable SERVER_NAME instead of HTTP_HOST. For your site, SERVER_NAME returns ghahn.de while HTTP_HOST returns www.ghahn.de. By using SERVER_NAME, the URLs end up losing the 'www.'.
All other similar code in TTG BE prioritises HTTP_HOST over SERVER_NAME, avoiding this problem. The fix will require an update to TTG BE, however we are not planning to update TTG BE any time soon.
Can you instead edit the file ttg-be/framework/helpers/URLHelper so that the function currentPageURL reads:
static public function currentPageURL() {
$pageURL = 'http';
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') {
$pageURL .= "s";
}
$pageURL .= "://";
$host = isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : $_SERVER["SERVER_NAME"];
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $host.":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$pageURL .= $host.$_SERVER["REQUEST_URI"];
}
return $pageURL;
}
If you are not comfortable making that change, I can email you the entire file to be re-uploaded. Please let us know whether that solves your breadcrumb issues.
Offline
wow, it´s working fine now
thank you very much!!
Offline
That's what we like to hear Thanks for confirming.
Offline