Uberbucket
Forum Replies Created
-
It seems that the URL for the thumb is being generated correctly, however the link itself is truncated and the domain name gets replaced with #!.
Anyway I can correct it within the plugin?Hi,
I tried replacing #! with a word, but apparently header is not the only place where that string is generated, because it had absolutely no effect.
Hi,
I recently installed your Gallery Plugin, however I am not able to make it work. I created the main Gallery page and several galleries, however this is the error message I get when I try to view the page:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/53/10068353/html/wp-content/themes/theme_5661/gallery-template.php:7) in /home/content/53/10068353/html/wp-content/themes/theme_5661/header.php on line 15
When I tried to use the shortcode to display a single gallery in an existing page, it works half-way. I see the thumbnails, however when I try to open full size image, I get the following error:
“The requested content cannot be loaded. Please try again later.”
Here is the link to that page: https://dev.californiarhythms.com/#!/portfolio-view/testing
From reading earlier posts I can see that the issue is with the way the template is calling JQuery, however I am not able to correct the issue on my own.
The header.php has the following code with line 15 in bold:<?php $webSiteUrl = get_bloginfo( 'url' )."/"; $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") { $pageURL .= "s"; } $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } if($webSiteUrl!=$pageURL){ $pageHash = substr($pageURL, strlen($webSiteUrl), strlen($pageURL)); <strong>header("Location: ".$webSiteUrl."#!/".$pageHash."");</strong> exit; } ?>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
Can you please help me resolve the issue?
Thank you!