See posts 114 and 115 just above yours for the answer.
See posts 114 and 115 just above yours for the answer.
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?
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.
If you want the slideshow to appear only on one page, you can either edit the if() condition like
or move the jscript_ files to the correct module page folder, likePHP Code:<?php if ($current_page_base == 'define_page_2') { //set any desired condition for each fadeshow
?>
/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
Last edited by shags38; 15 Aug 2012 at 03:24 AM.
Something like this for your test will get what you are asking for:Then you need to have the empty fadeshow div appear on the product info page. Probably inserting it at the bottom of tpl_product_info_display.php will work.PHP Code:<?php if ($this_is_home_page or ($current_page_base == 'product_info')) { //set any desired condition for each fadeshow
?>
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
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.
Is there a demo site for this or can someone provide a link to a live site that is using this add-on?