Zen Cart Logo
Forums / All Other Contributions/Addons / ZX Slideshow support thread

ZX Slideshow support thread

Views: 294,415

Results 261 to 280 of 767
02 Jan 2013, 18:44
#261
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

ZX Slideshow support thread

spawnie69:

Not too sure what went wrong but I got a bordered white box after install on 1.39h with the following plugins
(recover cart, edit orders, ty package tracker, SEO URLS, Sitmaps XML, Image Handler 2)
The ZX SlideShow is set on flase in my admin.

No files were overwritten so this is strange to me. Am I overlooking something?
Thanks for the help if someone can shed some light.

Here is the site:
http://gelcandleswholesale.com/

This is a well known bug in the module... I really need to submit an updated version...

Find your includes/templates/classic/templates/tpl_index_default.php and change

<?php if(ZX_SLIDESHOW_STATUS == true) { ?>

to

<?php if(ZX_SLIDESHOW_STATUS == 'true') { ?>

Currently, the on/off switch doesn't work until you make this change.

02 Jan 2013, 19:11
#262
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: ZX Slideshow support thread

got it! thanks!

02 Jan 2013, 21:29
#263
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: ZX Slideshow support thread

balihr:

:shocking: I guess it was me who gave that code you used... :lamo:

Try this instead:

<?php if($this_is_home_page) { 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 } }?>

Perfect, thank you so much :hug:
05 Jan 2013, 17:47
#264
djohanaa avatar

djohanaa

New Zenner

Join Date:
Jan 2009
Posts:
15
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

OK, here's a solution on how to center ZX Slideshow for all those interested:

Go to includes/templates/YOUR_TEMPLATE/css/index_home.css and find lines 90-97. Originally, this is how it looks:

.theme-default .nivoSlider {
position:relative;
background:#fff url("../images/loading.gif") no-repeat 50% 50%;
margin-bottom:50px;
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
}

> 
> Now, simply change the code in red with margins of your choice. For those who don't know, the numbers represent "top right bottom left". Change it to something like this if you want the slideshow to be centered:
> ```
.theme-default .nivoSlider {
    position:relative;
    background:#fff url("../images/loading.gif") no-repeat 50% 50%;
    margin:0 auto 50px auto;
    -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
    box-shadow: 0px 1px 5px 0px #4a4a4a;
}

This is it, your slideshow should now be centered.

I tried the above code to center the slideshow but it doesnt work. I have no idea what I am doing wrong.
My website is a is a "fluid" width site, meaning that its width changes as your customers' browser
width changes.

So on my laptop my slideshow looks center and looks fine but if I go to my desktop which wider screen the slideshow shows only to the left leaving a empty space on the right side.

Can anyone help me... I been at this for a week now and at this point don't know how to fix it. just in case website is secretofbelieving.com

05 Jan 2013, 19:04
#265
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

djohanaa:

I tried the above code to center the slideshow but it doesnt work. I have no idea what I am doing wrong.
My website is a is a "fluid" width site, meaning that its width changes as your customers' browser
width changes.

So on my laptop my slideshow looks center and looks fine but if I go to my desktop which wider screen the slideshow shows only to the left leaving a empty space on the right side.

Can anyone help me... I been at this for a week now and at this point don't know how to fix it. just in case website is secretofbelieving.com

Please replace the file includes/templates/cherry_zen/jscript/jquery.nivo.slider.pack.js with the one attached (unzip first), clear your cache and see if it works for you. Keep in mind that your images MUST have the same dimensions! Let us all know if it helps you.

05 Jan 2013, 21:04
#266
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

I have just submitted an updated version for approval.

All previous bugs are fixed (I hope) and there are some new features - the slider is now responsive and comes with 4 themes to choose from in the admin section. SQL files have also been updated to avoid duplicate entries in case you run the patches more than once. Uninstall SQL files are also available.

If anyone wants to get the new version before it's approved, you're welcome to contact me and I'll send it over.

14 Jan 2013, 12:46
#267
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hi!

After one day exploring, still can't get it work.

  • Page loads all files that needed css+javascript
  • I have uploaded 2 banners grouped slide1 and slide2

But nothing shows up.
When I configure Banner Display Groups - Header Position 3 -> slide1:slide2, I see these banners randomly as supposed. But not by the slider.
Has the modul anything to do with boxes or layout setting configuration?

There must be something I've missed. Any ideas?
fun.dada_dot_ee/shop/

Cheers!

14 Jan 2013, 17:04
#268
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Incule:

Hi!

After one day exploring, still can't get it work.

  • Page loads all files that needed css+javascript
  • I have uploaded 2 banners grouped slide1 and slide2

But nothing shows up.
When I configure Banner Display Groups - Header Position 3 -> slide1:slide2, I see these banners randomly as supposed. But not by the slider.
Has the modul anything to do with boxes or layout setting configuration?

There must be something I've missed. Any ideas?
fun.dada_dot_ee/shop/

Cheers!

Notice the part in red - this is what I don't understand. You should NOT do anything there. Don't use any original positions for the slider. All configuration is done under Configuration->ZX Slideshow entry and nowhere else.
So, for starters, remove those entries and restore the settings in ZX Slideshow back to default and then try again.

14 Jan 2013, 23:18
#269
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

Notice the part in red - this is what I don't understand. You should NOT do anything there. Don't use any original positions for the slider. All configuration is done under Configuration->ZX Slideshow entry and nowhere else.
So, for starters, remove those entries and restore the settings in ZX Slideshow back to default and then try again.

Thanx for replay :)
I know I have overdone some things, but only because I looked for the problem :) Just to see my new banner groups "slide1" and "slide2" are working :smile:
Now I removed slide groups from layout settings. And ZX Slideshow setting are default... I never changed these, only activated.
But, still nothing :huh:

14 Jan 2013, 23:48
#270
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Incule:

Thanx for replay :)
I know I have overdone some things, but only because I looked for the problem :) Just to see my new banner groups "slide1" and "slide2" are working :smile:
Now I removed slide groups from layout settings. And ZX Slideshow setting are default... I never changed these, only activated.
But, still nothing :huh:

Can you send a screenshot of your ZX Slideshow config page AND your Banner Manager page?

15 Jan 2013, 06:53
#271
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

Here we go - Attachment 11765Attachment 11764

15 Jan 2013, 07:13
#272
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Weird... Did you make any changes to zx_slideshow.php file? Or any other file in the package?

15 Jan 2013, 08:53
#273
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

No, I didn't. But I'll leave it for now. I'll take a look if other modules (shipping, payment...) are suitable for my needs. And then make a clean install. Hopefully this will fix the slideshow problem.

Tnx

15 Jan 2013, 08:58
#274
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Incule:

No, I didn't. But I'll leave it for now. I'll take a look if other modules (shipping, payment...) are suitable for my needs. And then make a clean install. Hopefully this will fix the slideshow problem.

Tnx

Oh, yes you did... Because, I'm 100% sure this piece of code isn't from my module:

<!-- s.h.i.t! -->

and it's located inside zx_slideshow.php so you might wanna check your files again and see what you did...

EDIT: I had to add dots to the quoted code...

15 Jan 2013, 09:07
#275
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Here's a screenshot for further explanation... :smile:
[Attachment no longer available]

16 Jan 2013, 16:01
#276
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

balihr:

Here's a screenshot for further explanation... :smile:
[Attachment no longer available]

:laugh: yea, you got me. I was trying to see if the file gets loaded at all... I could search for nivo or whatever other word, but didn't think about it until I found the word I inserted. I expected to find javascript from the head, and when I didn't I had to see what was loaded. So anyway, I wouldn't make any changes to any files if it would work at the first place. No doubt that you have done a good job with this plugin. I just wanted to find out why it is not working in my case... I'll let you know if I'll find out. :)
I uploaded all plugin files from original zip today, but still nothing. So there must be something else than s.h.i.t :laugh:

Cheers!

16 Jan 2013, 17:27
#277
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

Strange... :dontgetit
Clean ZC and ZX install, but still nothing.

16 Jan 2013, 18:50
#278
incule avatar

incule

New Zenner

Join Date:
Jan 2013
Posts:
7
Plugin Contributions:
0

Re: ZX Slideshow support thread

BTW, is it intentional, that in install.sql file you use variable "ZX_SLIDESHOW_BANNERS_GROUP_SET" and in zx_slideshow.php file "SHOW_BANNERS_GROUP_SET".
I downloaded the latest version of the plugin, just to be sure I haven't messed with code, but yes its the same.
So, I made some research and found out the difference. I changed php file variable to the same as in database and now it works.

But, second slide changes the slideshow height. Still have to fix that...

19 Jan 2013, 07:46
#279
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Incule:

BTW, is it intentional, that in install.sql file you use variable "ZX_SLIDESHOW_BANNERS_GROUP_SET" and in zx_slideshow.php file "SHOW_BANNERS_GROUP_SET".
I downloaded the latest version of the plugin, just to be sure I haven't messed with code, but yes its the same.
So, I made some research and found out the difference. I changed php file variable to the same as in database and now it works.

But, second slide changes the slideshow height. Still have to fix that...

Excellent find! :thumbsup:

It seems I've accidentally packed the contrib with the wrong file. :blush: My local copy was working just fine and I even tested on a clean install and it worked so I assumed it's something on your end. But, you got me thinking so I downloaded the plugin and it turned out you were right! Thank you!

The updated version has been submitted. If anyone else has the same problem, the only changes have been made to includes/templates/YOUR_TEMPLATE/templates/zx_slideshow.php so that's the only file you'll need to replace (after version 2.0.1 is approved and available).

19 Jan 2013, 18:36
#280
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: ZX Slideshow support thread

Where is the dimension of images on latest sql?
Attachment 11797
on my homepage https://www.100asa.it no image are visible!