There are couple of issues pertaining to the teasers displayed for slideshow nodes:

1) There is no teaser option (I removed the "$node->teaser = $output line in order to restore the teaser).

2) If the slideshow node is displayed on homepage, the "next/previous" links do not change the image if javascript version is not enabled. It instead changes to the next page.

3) The javascript code gets loaded onto the homepage even though I restored the teaser. What changes to the code do I have to make to get the javascript to not load only on the homepage.

Comments

kkaefer’s picture

Status: Active » Closed (won't fix)

Sorry, but I won't fix issues with the 4.7 version. If you can write a patch, post it here and I'll review and probably commit it.

GC_Chi’s picture

I'm not a programmer. It would be greatly appreciated if you could tell me what part of the code I needed to modify to prevent the javascript stuff from loading on the homepage if its a quick fix. Otherwise, I understand that this version is no longer being maintained. Thank you for responding.

kkaefer’s picture

Delete the following line from your module:
$node->teaser = $output; // yes, overwriting as the images are the main content

GC_Chi’s picture

Removing that line restores the teaser, but doesn't prevent unnecessary javascript from being loaded into the HTML header.

GC_Chi’s picture

I was referring to this code that gets loaded into the header:

<script defer="defer" type="text/javascript">
/*<![CDATA[*/
var slideshow = { "1": { "src": "http://www.mysite.com/files/image-01.jpg", "title": "Image 1" }, "2": { "src": "www.mysite.com/files/image", "title": "Image 2" }, "3": { "src": "www.mysite.com/files/image", "title": "Image 3" }, "current": 1, "total": 3 };
/*]]>*/
</script>