Results 1 to 10 of 767

Hybrid View

  1. #1
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    Hi,
    I was using ZX Slideshow v2.1 and v2.2 on ZC 1.5.6c without issues.
    Now I have a testcart using 2.1.0, and have installed v3.0.0 of the plugin.
    I ran the uninstall SQL patch for v2.2 on my database.
    After that I copied all the admin and cart files across, modifying the two templates to insert the slider as explained (CSS file directly from the plugin as is).
    The admin configuration had no issues, but slides do not display.
    The jscript error in the browser debugger simply says:
    TypeError: currentSlide is undefined
    at the
    Code:
    var currentSlide = this.slides[this.activeIndex];
    in the
    Code:
    jQuery(window).on("load", function ()
    of the jscript_zx_slideshow.php file.
    There are no Zencart level debugging logs.
    I have tried to check that I did not forget some editing changes but cannot seem to find any issue at the moment.
    If anyone has ideas on where I should be looking, I would be most grateful.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  2. #2
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    I got the advice from Google that his is related to various problems with swiper.js, and am debugging this now, sorry for the noise.
    Firefox also does not manage to retrieve the swiper-bundle.min.js which will need to be hosted locally.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  3. #3
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    Deleted.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  4. #4
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    Hi all,
    It turns out that the issue was a simple reading and comprehension issue. The DB query for zx_slideshow v3 in the zx_slideshow.php template file only looks for slide group 'home', and I had put in the same slide group for each slide as I had used in v2.1/2.2.
    The dialogue for setting up slides does not fix the slide group to 'home', I guess that the idea is that one can clone this template file in other places and have different slide groups as needed in those template files.
    The slideshow now works perfectly. Moral of the story: before thinking about Javascript and DOM issues, check if there is actually any data to work with.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: ZX Slideshow official thread

    to be very clear, the file that needs to be updated to change 'home' to the slide group you actually used is

    includes/templates/YOUR_TEMPLATE/templates/zx_slideshow.php
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3672
    Last Post: 11 Sep 2025, 05:07 PM
  3. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  4. Frontpage Slideshow [support thread]
    By sport_billy in forum All Other Contributions/Addons
    Replies: 108
    Last Post: 10 Jul 2014, 12:41 PM
  5. SnapShot [support thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 32
    Last Post: 26 Oct 2012, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg