WordPress.org

Forums

Tribulant Slideshow Gallery
[resolved] [Plugin: Slideshow Gallery] Slideshow not working (19 posts)

  1. elainemarley
    Member
    Posted 2 years ago #

    I can't get the plugin to work, I'm using it here:

    http://www.grado-records.com/galeria/

    And I get this error in my Firebug:

    TypeError: tag("a", h)[0] is undefined
    a.tg = tag('a',h)[0] != '' ? tag('a',h)[0].target:'_self';
    galler...ver=1.0 (line 41)

    Also I see an issue with multiple galleries. In my case I have jquery tabs enabled and I want a gallery inside each tab but that is causing issues with the ids repeating themselves, I suggest that you fix that, because it may be neccesary to call two galleries in the same page like in my case.

    http://wordpress.org/extend/plugins/slideshow-gallery/

  2. Tribulant Software
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for your post.

    Seems with the fixing of that new/same window bug a new problem occurred.

    Do you mind replacing slideshow-gallery/views/default/gallery.php with new code? The code is here: http://pastebin.com/QvuJkVcK . Copy from the "Raw Paste Data" at the bottom please, paste into that gallery.php file and save.

    That should fix the problem.
    If you can confirm, we'll update the plugin here on WordPress.org.

  3. Tribulant Software
    Member
    Plugin Author

    Posted 2 years ago #

    Oh and regarding this:

    Also I see an issue with multiple galleries. In my case I have jquery tabs enabled and I want a gallery inside each tab but that is causing issues with the ids repeating themselves, I suggest that you fix that, because it may be neccesary to call two galleries in the same page like in my case.

    It is not currently possible to have multiple slideshows on one page, just one slideshow per post/page please :)

  4. danmcclure
    Member
    Posted 2 years ago #

    oh wow posted in the wrong place

  5. martinog
    Member
    Posted 2 years ago #

    HI Antonie,

    Same problem on my site. It worked fine until I installed the update this evening. We don't get anything showing on our page. We use Studio Press, which has its own Slider on the home page.

    a) I tried your fix above, it did not work.
    b) Can I revert back to the old version? If so, where can I find the files?

    Martin

  6. elainemarley
    Member
    Posted 2 years ago #

    The fix didn't work for me but since I can't use more than one gallery per page, I can't use the plugin, thanks for the quick response, you saved me a lot of time.

  7. Tribulant Software
    Member
    Plugin Author

    Posted 2 years ago #

    @martinog,
    Did you use the 'gallery_id' parameter in the shortcode?
    We uploaded 1.2.3.2 with a fix for this [slideshow gallery_id=""] slideshow.

    @elainemarley,
    No problem, I'm glad I could try and help you.

  8. paulo.victor
    Member
    Posted 2 years ago #

    I'm getting the following message:

    SyntaxError: unterminated string literal
    [Break On This Error]
    jQuery("#fullsize").append('

    The complete created source code:

    <script type="text/javascript">
    jQuery.noConflict();
    tid('slideshow').style.display = "none";
    tid('slideshow-wrapper').style.display = 'block';
    tid('slideshow-wrapper').style.visibility = 'hidden';
    jQuery("#fullsize").append('
    <div id="spinner"><img src="http://www.englishtownbrasil.com.br/inglesonline/wp-content/plugins/slideshow-gallery/images/spinner.gif"></div>
    <p>');
    tid('spinner').style.visibility = 'visible';</p>
    <p> var slideshow = new TINY.slideshow("slideshow");
    jQuery(document).ready(function() {
    window.onload = function() {
    slideshow.auto = true; slideshow.speed = 10;
    slideshow.imgSpeed = 10;
    slideshow.navOpacity = 25;
    slideshow.navHover = 70;
    slideshow.letterbox = "#000000";
    slideshow.linkclass = "linkhover";
    slideshow.info = "information";
    slideshow.infoSpeed = 10;
    slideshow.thumbs = "";
    slideshow.thumbOpacity = 70;
    slideshow.left = "slideleft";
    slideshow.right = "slideright";
    slideshow.scrollSpeed = 5;
    slideshow.spacing = 5;
    slideshow.active = "#FFFFFF";
    slideshow.imagesthickbox = "false";
    jQuery("#spinner").remove();
    slideshow.init("slideshow","image","imgprev","imgnext","imglink");
    tid('slideshow-wrapper').style.visibility = 'visible';
    }
    });
    </script>
  9. nubber
    Member
    Posted 2 years ago #

    Slides aren't rotating properly in IE9 only. Seems to work fine in all others. I check IE9 dev console and see:

    SCRIPT5007: Unable to get value of the property 'target': object is null or undefined
    gallery.js?ver=1.0, line 41 character 4

    I replace this line:

    a.tg = tag('a',h)[0] != '' ? tag('a',h)[0].target:'_self';

    with:

    a.tg = tag('a',h)[0] = '_self';

    and the error is gone but the problem still persists. only the first slide is displayed..

    Any ideas?

    In Safari, if i have the dev tools open the page halts on jQery.js ParseJSON function if that helps.. im out of ideas

  10. Tribulant Software
    Member
    Plugin Author

    Posted 2 years ago #

    @paulo.victor,
    See this please: http://screencast.com/t/doYhUQNTg
    It is the paragraph tags causing this.
    Seems you have one of those themes applying custom the_content filters.

    @nubber,
    This was fixed in 1.2.3.2, did you get the latest version?

  11. paulo.victor
    Member
    Posted 2 years ago #

    @Antonie, Really, I have no idea about how I can solve this =( ... And actually it's kind of urgent you know =/, don't you know anything that I can try?

    btw, this is the template I'm using: http://boulevard.themesector.com/

    edit:
    I found in the theme file 'page.php'the following lines:

    <div class="post-content">
    	<?php the_content(); ?>
    	<?php wp_link_pages(); ?>
    </div>
  12. paulo.victor
    Member
    Posted 2 years ago #

    @Antonie, I did remove the <p> tags.... But I discovered that this is not the problem, the problem is mysterious line break that is being inserted after "append('".

    like this:
    jQuery("#fullsize").append('LINE_BREAK
    <div id="spinner"><img src="URL.../images/spinner.gif"></div>

    And again, I've no idea what to do

  13. nubber
    Member
    Posted 2 years ago #

    @Antonie yes im running the latest; Stable tag: 1.2.3.2

    :(

    still same error:

    SCRIPT5007: Unable to get value of the property 'target': object is null or undefined
    gallery.js?ver=1.0, line 41 character 4

    i tried adding the fallback meta tag with no luck
    <meta http-equiv="X-UA-Compatible" content="IE=8" />

  14. nubber
    Member
    Posted 2 years ago #

    @antonie My problem was unrelated to your plugin and had to do with my theme. Sorry about that! Your plugin is great thanks for your hard work!

  15. Rypens
    Member
    Posted 2 years ago #

    Nubber, can you please let us know what your issue was?

  16. Rypens
    Member
    Posted 2 years ago #

    Nubber, can you please let us know what your issue was?

  17. nubber
    Member
    Posted 2 years ago #

    I was using the php hardcode method and had the gallery accidentally inserted between an anchor tag in my theme:

    <a href='#'><?php if (function_exists('slideshow')) { slideshow($output = true, $gallery_id = false, $post_id = false, $params = array()); } ?></a>

    Its usually the silly simple things i overlook =/

  18. nizaminz
    Member
    Posted 2 years ago #

    The solution is simple.
    I see the permission for folder wp-content/uploads is 755. Actually it should be enough. But in the reality, it doesn’t work.
    So I change the permission of the folder to 775.
    I go to Slideshow>Manage Slides
    I edit the Slides so the image reapper and save it.
    And the plugin is working as good as it should be!
    Read more at:
    http://agusnizami.wordpress.com/2013/03/22/solution-for-slideshow-gallery-wordpress-plugin-error/

  19. haribolt
    Member
    Posted 2 years ago #

    i got error because of the line break at line
    jQuery("#fullsize").append('
    and screencast link http://screencast.com/t/doYhUQNTg is wrong!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tribulant Slideshow Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.