Forums / All Other Contributions/Addons / ZX Slideshow support thread

ZX Slideshow support thread

Views: 295,213

Results 701 to 720 of 767
27 Jan 2022, 10:17 PM
#701
tbokich avatar

tbokich

New Zenner

Join Date:
Aug 2007
Posts:
64
Plugin Contributions:
0

ZX Slideshow support thread

Is this slide show not supported anymore and if so is there one that is working now.

27 Jan 2022, 10:35 PM
#702
exatek avatar

exatek

New Zenner

Join Date:
May 2006
Posts:
15
Plugin Contributions:
0

Re: ZX Slideshow support thread

tbokich:

I installed this slide show on a fresh install of 157 and have not been able to get it to work. It shows in the admin panel but not on the page. I have bootstrap installed but did try it in the two standard zc templates. Anybody have trouble out there? https://www.makupartist.com

PHP Version 7.4.27
Thanks
Todd

It works on 1.5.7 I even found someone to solve the slow loading issue I had, Mine came installed in the template so I can offer any advice as to why its not working,

https://www.exatek.com.au/

Try this guy on Fiver he may be able to help.

https://business.fiverr.com/benwpr/help-you-with-your-zencart-problem?source=order_page_summary_gig_link_title&funnel=7035de43fedb669ff7c83a409f35f9e2

28 Jan 2022, 6:56 AM
#703
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Been really busy lately, didn't have time to be here, sorry.

Can you please try removing your
includes/templates/bootstrap/jscript/jscript_jquery-1.7.1.min.js
You can just rename it to xx_jscript_jquery-1.7.1.min.js so it doesn't automatically load.
That file is obsolete and was supposed to be removed from the latest version, don't know how it slipped through.

Next, did you add any banners for the appropriate slideshow banner groups?

My site - Pro ZC Help
My portfolio | My plugins

19 Feb 2022, 8:09 PM
#704
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
297
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

Been really busy lately, didn't have time to be here, sorry.

Can you please try removing your
includes/templates/bootstrap/jscript/jscript_jquery-1.7.1.min.js
You can just rename it to xx_jscript_jquery-1.7.1.min.js so it doesn't automatically load.
That file is obsolete and was supposed to be removed from the latest version, don't know how it slipped through.

Next, did you add any banners for the appropriate slideshow banner groups?

Hello there
Thank you for all your work on this plugin. Do you know if there is a way to make the slider window smaller ? Also is it possible to have the " Welcome Guest! Would you like to log yourself in?" message link above it ? Instead of blow it ? Thanks again .

Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online https://www.missingcord.com

19 Feb 2022, 8:20 PM
#705
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

jasonshanks:

Hello there
Thank you for all your work on this plugin. Do you know if there is a way to make the slider window smaller ? Also is it possible to have the " Welcome Guest! Would you like to log yourself in?" message link above it ? Instead of blow it ? Thanks again .

The slider is responsive, meaning it will always adapt to it's parent container. in your case, it adapts width to the center column, and then adapts the height to be proportional to width. If you need it smaller in height, you'd need to use different images, something wider and shorter.

The welcome message - you'll need to reposition the slider code. Just edit your includes/templates/responsive_classic/templates/tpl_index_default.php and move the ZX Slideshow block of code below the greeting block. It should look something like this:

<div class="centerColumn" id="indexDefault">
<h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>
    
<!-- begin edit for ZX Slideshow -->
<?php if(ZX_SLIDESHOW_STATUS == 'true') { ?>
    <?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php } ?>
<!-- end edit for ZX Slideshow -->

My site - Pro ZC Help
My portfolio | My plugins

19 Feb 2022, 11:59 PM
#706
exatek avatar

exatek

New Zenner

Join Date:
May 2006
Posts:
15
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

Been really busy lately, didn't have time to be here, sorry.

Can you please try removing your
includes/templates/bootstrap/jscript/jscript_jquery-1.7.1.min.js
You can just rename it to xx_jscript_jquery-1.7.1.min.js so it doesn't automatically load.
That file is obsolete and was supposed to be removed from the latest version, don't know how it slipped through.

Next, did you add any banners for the appropriate slideshow banner groups?

To which question where you replying .

Thanks

20 Feb 2022, 12:04 AM
#707
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

exatek:

To which question where you replying .

Thanks

LOL, looks like I forgot to quote... Post #703 was a reply to post #700, basically the last one that was asked.

My site - Pro ZC Help
My portfolio | My plugins

8 Jan 2023, 4:11 PM
#708
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi balihr,

I have just installed the plug in on a fresh copy of ZC v.1.5.8 (including running the SQL statement) and just as the poster in post #700 has, it shows in my Admin->Config, I have enabled it, and added a banner in Banner Manager to banner group Slide 1, but nothing shows on my main page.

I have read the rest of the posts and see you suggested to remove the jscript_jquery-1.7.1.min.js file...I have tried this and still nothing showing on the main page.

I have checked the Logs folder and only shows a PHP version error of:

--> PHP Warning: Use of undefined constant TEXT_MAIN - assumed 'TEXT_MAIN' (this will throw an Error in a future version of PHP) in C:\wamp64\www\158\includes\templates\CUSTOM\templates\tpl_index_default.php on line 31. and also same error on line 32.

Any ideas on why it is not displaying??

Thanks for your help,

Jeff

9 Jan 2023, 2:55 PM
#709
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

I gotta admit I haven't tested this plugin on 1.5.8 yet, primarily because I have v2 planned for later this month...

Assuming your logs aren't modified, you're using a template named "CUSTOM" - did you add the files from YOUR_TEMPLATE do that directory? If so, this was probably a mistake because the 1.5.8 version of that file is slightly different and tpl_index_default.php should look something like this:

<?php
/**
 * Page Template
 *
 * Main index page
 * Displays greetings, welcome text (define-page content), and various centerboxes depending on switch settings in Admin
 * Centerboxes are called as necessary
 *
 * @copyright Copyright 2003-2022 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: DrByte 2020 Dec 25 Modified in v1.5.8-alpha $
 */
?>
<div class="centerColumn" id="indexDefault">

<!-- begin edit for ZX Slideshow -->
<?php if(ZX_SLIDESHOW_STATUS == 'true') { ?>
    <?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?>
<?php } ?>
<!-- end edit for ZX Slideshow -->
    
<h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<?php
/**
 * get the Define Main Page Text
 */
?>
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php } ?>

<?php
  $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
  while (!$show_display_category->EOF) {
?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
<?php
/**
 * display the Featured Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
<?php
/**
 * display the Special Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
<?php
/**
 * display the Upcoming Products Center Box
 */
?>
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>


<?php
  $show_display_category->MoveNext();
} // !EOF
?>
</div>

My site - Pro ZC Help
My portfolio | My plugins

9 Jan 2023, 4:19 PM
#710
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi balihr,

Thanks for your reply and yes, I did upload the files to my CUSTOM folders to recognize these as this is my selected template.

Thanks for the heads up that you will be updating this plugin this month, and also for the updated for the tpl_index_default.php I have copied this code and replaced this file using this new code, but it still does not appear on my main page. I have checked the Logs folder and there is no DEBUG logs....so not sure where I've gone wrong. Is it possible that it has something to do with the tpl_index_default.php as this file is not a stock file in the /templates folder....it only exists in this module?

Do you have any other suggestions or perhaps just wait until you have had the time to work on the updated plugin??

Thanks,

Jeff

9 Jan 2023, 4:34 PM
#711
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Would you mind sharing a link to your website? You can PM me if you don't want to have it public.

As for the updated version - up to you. This shouldn't be very hard to debug, tho...

My site - Pro ZC Help
My portfolio | My plugins

9 Jan 2023, 4:36 PM
#712
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi again balihr,

In double checking everything, I had a syntax error when writing in the Banner Group when creating a new banner. I had written in slide 1 and it should be slide1 without the space. Now that I have corrected this....it all works perfectly!

Thanks for your help and replies...it is much appreciated,

Jeff

9 Jan 2023, 4:38 PM
#713
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Great news, thanks for sharing the solution!

My site - Pro ZC Help
My portfolio | My plugins

23 Jan 2023, 1:42 PM
#714
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi again balihr,

I have the plugin working well in my Wampserver test site on my local computer. I have now uploaded to a subfolder on my website and added in my database and upgraded it to v.1.5.8 to get everything in order to test and then go live.

Unfortunately I now no longer have is showing in Admin-> Config. I have tried rerunning the SQL statement to see if this would have any effect....but it did not.

I have this error in my Debug logs:

PHP Warning: Use of undefined constant ZX_SLIDESHOW_STATUS - assumed 'ZX_SLIDESHOW_STATUS' (this will throw an Error in a future version of PHP) in /home/mysite/public_html/new158/includes/templates/custom/templates/tpl_index_default.php on line 18.

Any ideas why it does not show in My Admin??

Thanks for your help,

Jeff

23 Jan 2023, 2:04 PM
#715
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

I'd start by checking the database manually. Check the configuration_group table to see if there's any trace of ZX Slideshow and get the group_id, then do a search in the configuration table for that group_id and delete all entries you find. They will all start with ZX_SLIDESHOW
You can also do a search in the configuration table - search configuration_key LIKE %...% ZX_SLIDESHOW to make sure any duplicate entries are deleted.
Then run the contents of the install sql file from admin again.

BTW, I'm in the process of re-writing the plugin - v2 is based on swiperJS and will have much more features than the current one. ETA (if all goes as planned) is 2 weeks max. :smile:

My site - Pro ZC Help
My portfolio | My plugins

23 Jan 2023, 2:08 PM
#716
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: ZX Slideshow support thread

Thanks for your reply balihr and for your suggestions! I have looked at it all and followed your instructions and when I have run the SQL statement once again, it all now appears in my Admin-> Config. Thanks very much for your help!

Looking forward to the updated plugin as well!

Jeff

5 Feb 2023, 5:47 AM
#717
generikz avatar

generikz

New Zenner

Join Date:
Sep 2011
Location:
Tokyo
Posts:
26
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

Can you please try removing your
includes/templates/bootstrap/jscript/jscript_jquery-1.7.1.min.js

Hello!

Glad I found this, was checking the forum for precisely this issue.

Adding ZX broke my sister's website on mobile (works on computer) and I went ahead and removed/added each file one by one to find when it would break.

Removing the JQ-1.7.1 fixed everything.

Thanks!

Julien

16 May 2023, 12:57 PM
#718
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi There,

Has anyone had success with webp images and ZX slideshow, I've tried with no success.

Thanks in advance.

27 Aug 2023, 5:26 PM
#719
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: ZX Slideshow support thread

Is anyone interested to help me test the new version before packing it up as a plugin and submitting here? I'm pretty sure there's stuff that can be done to improve it, but am running out of time and ideas... A fresh pair of eyes would be most welcome.
It's based on SwiperJS and Animate.css so should be quite nice to use with the new features to add readable text over the images.

Please do NOT test on a live site! This is a pre-release!

Demo of the new version can be seen here. Admin access on request via PM.

The files are currently only available on github with documentation in progress.

Thanks in advance!

My site - Pro ZC Help
My portfolio | My plugins

30 Aug 2023, 2:44 PM
#720
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi balihr,

I have installed and am running this plugin on my recently installed v.1.5.8 site. When I create the banner in Banner Mgr and use the Browse to add in the image, all works perfectly and it displays. The one thing is that it also now adds this image to my product description as an additional image. Is there a way to not have it add it to the product description page??

Thank you for your help.