Black Belt
- Join Date:
- Jul 2005
- Location:
- Upstate NY
- Posts:
- 21,876
- Plugin Contributions:
- 8
Ultimate Fade-In Slidehow Support thread
See posts 114 and 115 just above yours for the answer.
Views: 30,816
Black Belt
See posts 114 and 115 just above yours for the answer.
New Zenner
Hi folks. Newbie here. I've searched but haven't found a clear answer to this.
I'm using Ultimate Fade-In Slideshow on ZC 1.3.9h. (Looks great, BTW!)
However, my client wants the slideshow to ONLY appear on define_page_2 and nowhere else, especially not the front page.
The instructions say to edit this line: <?php if ($this_is_home_page) { //set any desired condition for each fadeshow ?>
But what do you change it TO to call define_page_2?
New Zenner
RESOLVED:
Instead of editing the setup file, I went straight into jscript_fadeshow.js and disabled the error message by commenting out this line:
alert("Error: DIV with ID ""+setting.wrapperid+"" not found on page.")
Slideshow appears where it's supposed to, no error messages on other pages.
Devel site is at wwwdot l a d y j a n e s h o e s dot com / s t o r e if anyone's interested.
Black Belt
If you want the slideshow to appear only on one page, you can either edit the if() condition like
<?php if ($current_page_base == 'define_page_2') { //set any desired condition for each fadeshow
?>
``` or move the jscript_ files to the correct module page folder, like
/includes/modules/pages/define_page_2/
so that they will only be processed when that page is active. This is actually a very efficient solution, as the javascript will not be loaded for pages where it is not wanted.
Totally Zenned
<?php if ($current_page_base == 'define_page_2') { //set any desired condition for each fadeshow ?>gjh42:
If you want the slideshow to appear only on one page, you can either edit the if() condition like
> /includes/modules/pages/define_page_2/
> so that they will only be processed when that page is active. This is actually a very efficient solution, as the javascript will not be loaded for pages where it is not wanted.
Glenn - I have this mod working wonderfully on my index page - just great!! Now I want to have it also load by default on ALL Product pages, likely at the bottom but maybe elsewhere on the page however please assume at very bottom of page (I am still awaiting a response to a post about adding a text centerbox on Product pages which will help determine how I lay out Product pages ... can you assist with this as well? - not getting anywhere with it at all :( )
cheers and Many Thanks,
Mike
Black Belt
Something like this for your test will get what you are asking for: ```php
<?php if ($this_is_home_page or ($current_page_base == 'product_info')) { //set any desired condition for each fadeshow ?>
Zen Follower
Thanks so much for this slideshow, it is great. I am getting everything to work except for the arrows. When I click on the arrows, it jumps to the top of the page and then it does not move to the next or last image. What am I doing wrong?
site:http://www.toolsforchrist.com/shop
Thanks
Black Belt
I've never actually used the arrows, so I can't say for sure what is wrong. Presumably there is a setting you need to include or modify. I just packaged the slideshow for easy use in Zen Cart. You will need to look at the Dynamic Drive pages for detailed setting info for this feature.
Totally Zenned
Is there a demo site for this or can someone provide a link to a live site that is using this add-on?
Totally Zenned
Serious:
Is there a demo site for this or can someone provide a link to a live site that is using this add-on?
Ditto, am also interested in seeing this in all of its glory.
Black Belt
There are two instances of this operating in the festival site in my sig. The big one is only on the home page, while the small one appears on every page.
Totally Zenned
gjh42:
There are two instances of this operating in the festival site in my sig. The big one is only on the home page, while the small one appears on every page.
http://www.nyfaeriefest.com/
Totally Zenned
I'm working on customizing a template and was wondering if this add-on can be used to replace the header image on my site?
http://www.seriousoffroadproducts.com/
Totally Zenned
gjh42:
There are two instances of this operating in the festival site in my sig. The big one is only on the home page, while the small one appears on every page.
Thanks, plugin looks very useful.
Deceased
SPH:
Ditto, am also interested in seeing this in all of its glory.
Deceased
Serious:
I'm working on customizing a template and was wondering if this add-on can be used to replace the header image on my site?
http://www.seriousoffroadproducts.com/
I believe it can be done by inserting the 'empty div' into the position of the current header image (instead of the current header image).
Totally Zenned
frank18:
https://www.sunnsand.com.au
Cool!! Looks good.
frank18:I believe it can be done by inserting the 'empty div' into the position of the current header image (instead of the current header image).
I'll give it a shot.
Totally Zenned
I'm lost....
Going through the install steps I get to this:
Download, then copy and paste the full content of fadeslideshow.js into jscript_fadeshow.js, changing the line
controls: [['x.png',7,7], ['restore.png',10,11], ['loading.gif',54,55]], //full URL and dimensions of close, restore, and loading images
to match your template's foldername, like this:
controls: [['includes/templates/your_template/images/x.png',7,7], ['includes/templates/your_template/images/restore.png',10,11], ['includes/templates/your_template/images/loading.gif',54,55]], //full URL and dimensions of close, restore, and loading images
Change your_template to the foldername of your template in three places.Where the heck is the line I highlighted above?
It's not in jscript_fadeshow_setup.php or It's not in jscript_fadeshow.js
Deceased
Serious:
I'm lost....
Going through the install steps I get to this:
Where the heck is the line I highlighted above?
It's not in jscript_fadeshow_setup.php or It's not in jscript_fadeshow.js
Haven't played with this set-up yet but maybe the 'recipe' I posted 2 years ago may help you - it is for main page only so needs modification.......
Totally Zenned
Thanks, but I'm just trying to find the line I hightlighted above. the rest of the instructions seem pretty straight forward.
Tell staff why this post should be reviewed.