Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
Never mind..figured it out. JPG instead of jpg :blush:
Now can anyone help me on how to put it in the middle of my zen cart?
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
Wicked works great, thanks!
http://www.sparklegift.co.uk
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
[QUOTE=newbie79;947246]
Quote:
Originally Posted by
frank18
Then open
includes/templates/YOUR_TEMPLATE/common/html_header.php and insert this piece of code just before the </head> tag:
(Note: this is configured to show only on home page)
Code:
<?php
if($this_is_home_page){
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="includes/modules/pages/index/fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [480, 360], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["includes/modules/pages/index/images/image11.jpg", "index.php?main_page=index&cPath=11", "", "Beach Bags"],
["includes/modules/pages/index/images/image3.jpg", "index.php?main_page=index&cPath=3", "", "Beach Wear"],
["includes/modules/pages/index/images/image10.jpg", "index.php?main_page=index&cPath=10", "", "Cover Ups"],
["includes/modules/pages/index/images/image9.jpg", "index.php?main_page=index&cPath=9", "", "Kaftans"],
["includes/modules/pages/index/images/image7.jpg", "index.php?main_page=index&cPath=7", "", "Ladies Apparel"],
["includes/modules/pages/index/images/image1.jpg", "index.php?main_page=index&cPath=1", "", "Sarongs and Wraps"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1000, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
<?php
}
?>
Hi,
I really want this mod in my 1.3.9g recently installed Cart but i am so confused with the 'how' . I checked and i don't have the htlm_header.php. Instead i have tpl_header.php and i can't find the </head> or any <head> for that matter.
I am new and i read but my brain can't compute to whatever i'm reading :no: everyhting seems so confusing. I tried to understand what Frank18 "HOW TO" but i just can't.
First where do i actually insert the codes for tpl
Pls don't get mad and irritated with my lack of php or whatever codes. Still very new.
Thanks
I am new as you. i also cannot find the htlm_header.php and do not know where to insert the code, please give some information, i really want this mod in 1.3.9
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
Instead of inserting the code into html_header.php manually, save it as a file named like jscript_myfadeshow.php, as described in the wiki link in post 25 above.
Zen Cart will automatically insert it into the <head> output when appropriate.
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
Quote:
Originally Posted by
gjh42
Instead of inserting the code into html_header.php manually, save it as a file named like jscript_myfadeshow.php, as described in the wiki link in post 25 above.
Zen Cart will automatically insert it into the <head> output when appropriate.
thank you, Gleen.
but i am still confused with 'how to'.
i followed steps below but i cannot get the slide:
1.download the file and drop it into folder includes/modules/pages/index/fadeslideshow.js)
2.copy all of the code and save it as jscript_myfadeshow.php, upload it into includes/templates/MYTEMPLATE/common/jscript_myfadeshow.php
3.in admin-Define Pages Editor, input the code:<div id="fadeshow1"></div> into
define_main_page.php, and save it
did i miss any step, or anything is wrong during this process?
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
includes/modules/pages/index/fadeslideshow.js
Files to be autoloaded here should start with jscript_, so try
jscript_fadeslideshow.js
and if it is called by name from other javascript code, change that to reflect the new name.
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
thanks, Glenn,
still cannot get the slideshow, but I think it is related to js.
when I visited the wbsite, I found there is a yellow mark in the left corner of the status bar, the error message is
message: 'jQuery' undefined
could you help to take a look?
click
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
well, I have removed that error finally.
by the way, how can I edit my post? it seems no EDIT option there...
Re: can't get Ultimate Fade-in slideshow v2.1 to work on main page
You can edit posts for 7 minutes. After that, they are frozen so that replies that follow still make sense. If you deleted a comment or question after someone answered, it would mislead later readers who might be looking for the same info.
Re: SOLVED!! - How to Place Fade Slideshow in Category (top of page)
This seems fairly straightforward, but i would like the slideshow to display on the main page, but not in the header. I have a bit larger images than what would comfortably fit in the header, and would like the visitors to see the slideshow when they come in. What should i do differently? can i insert the slideshow through the Define page editor once things are set up?