Re: ZX Slideshow official thread
Sorry i solved the problem by myself... indeed it was not a big deal...
in .../includes/function/extra_function/zx_banner.php
line 68 to 73 find and add the red character:
$banner_string = '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" />';
} else {
if ($banner->fields['banners_open_new_windows'] == '1') {
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" target="_blank">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" /></a>';
} else {
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" /></a>';
Pay attention to the SPACE befor the "/"!!!
Re: ZX Slideshow official thread
Hi
I've installed this mod lots of times because it's my favorite slider. It always works great. For my latest use I need to use images in portrait mode rather than landscape so we need the slider to be taller than it is wide. My first test images are 191px wide x 298px tall. The problem I am having is the images are displaying huge at roughly 576px wide x 900px. Is there a way get the images to display at normal size?
It works fine if I use wide images(landscape).
The zx slider admin settings used to have height and width settings but those have been removed a few versions ago.
I have it installed on zen cart 1.5.3 with the default classic template (unmodified)
Re: ZX Slideshow official thread
never mind I see what's happening. There's no way to set the width, height in zx admin settings so the slide fills the space available. I put the slider code into a fixed width div and that took care of it.
Re: ZX Slideshow official thread
Heh, I just got here to tell you that, but I'm glad to hear you've figured it out. :)
Re: ZX Slideshow official thread
Quote:
Originally Posted by
balihr
Heh, I just got here to tell you that, but I'm glad to hear you've figured it out. :)
Hi balihr, I was wondering, is there any way to determine which version of ZX Slider is installed? I have a template with an older version of ZX Slider pre-installed, but unfortunately I can't tell which version. I would like to uninstall the older version, and install the newest ZX Slider (2.1).
Re: ZX Slideshow official thread
Quote:
Originally Posted by
McLovin
Hi balihr, I was wondering, is there any way to determine which version of ZX Slider is installed?
Yes, there's a very simple way to determine which version you're using. Take a look at the configuration options in admin. There are 3 possible situations:
1. If you have options to set width and height, you're using version 1.0.
2. If you don't have those options AND last config line doesn't mention slideshow version, you're using 2.0
3. If the last line in configuration shows slideshow version, well, try guessing which version you have... :wink:
Regards,
Leonard
Re: ZX Slideshow official thread
Quote:
Originally Posted by
balihr
Yes, there's a very simple way to determine which version you're using. Take a look at the configuration options in admin. There are 3 possible situations:
1. If you have options to set width and height, you're using version 1.0.
2. If you don't have those options AND last config line doesn't mention slideshow version, you're using 2.0
3. If the last line in configuration shows slideshow version, well, try guessing which version you have... :wink:
Regards,
Leonard
Thank you! I'll check it immediately! =D
Re: ZX Slideshow official thread
Hi
The latest version of zx slider doesn't have the captions. How can I add the caption feature back?
thanks :-)
Re: ZX Slideshow official thread
No, it doesn't display captions - I removed it because most people didn't want it and it can no longer be disabled from the admin (the new version of Nivo Slider controls it only from CSS, no more control from javascript).
If you want to enable captions, edit includes/functions/extra_functions/zx_banner.php
Find line 68:
Code:
$banner_string = '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'">';
and replace with
Code:
$banner_string = '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" title="'. $banner->fields['banners_title'].'">';
Find line 71:
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" target="_blank">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'"></a>';
and replace with
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" target="_blank">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" title="'. $banner->fields['banners_title'].'" ></a>';
Find line 73:
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'"></a>';
and replace with
Code:
$banner_string = '<a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '">' . '<img src="' . DIR_WS_IMAGES . $banner->fields['banners_image'] . '" alt="'. $banner->fields['banners_title'].'" title="'. $banner->fields['banners_title'].'"></a>';
You might need to play with CSS after doing this.
Regards,
Leonard
Re: ZX Slideshow official thread
Awesome! Thank you so much. It worked perfectly. I'm so happy to be able to add it back and also have the latest version.