Re: Problem with Flash Header
Category sideboxes images...incorrect template specified
i.e.
Code:
includes/templates/template_default/images/bc_cat_no_sub.gif
You are currently using template named
Code:
includes/templates/arch_shoppe/
FLASH....do not see any code for flash header when view source coding
Re: Problem with Flash Header
Awesome I know I didn't actually totally figure out how to fully switch from template_default to a custom template most of the time i just copy the same thing in both. But i always keep a back up every time i change something so i can also revert back to how it was before that change. I was able to get rid of all the dumb red x's thinks to you. Now for the flash I am sorry i didnt expalin myself. I dont have a flash banner as of yet, but on the "photogallery" page I do have a flash photogallery that seems to only work on specific computers. Can you look at it and tell me what could be going wrong. Thanks again for the help.
http://wpc-consulting.com/~stxmill/
Re: Problem with Flash Header
Quote:
on the "photogallery" page I do have a flash photogallery that seems to only work on specific computers. Can you look at it and tell me what could be going wrong.
Visit url below, ESPECIALLY POST NUMBER 7
http://www.zen-cart.com/forum/showth...210#post266210
:smile:
Re: Problem with Flash Header
I am sorry i tried but no success. Now it just shows a black and grey box on all the computers i have tested it with. I know it is because something i did wrong. I downloaded the java file and uploaded it "uncompressed" to includes/templates/YOUR_TEMPLTE/jscript/swfobject.js of course replaceing YOUR_TEMPLATE with my own. I didn't do what it told me to do about the tpl_header because i am not trying to put anything in the header i am putting it on another page. So what i did was when to the define page editor and placed this code into the html page
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "560", "7", "#000000");
so.write("flashcontent");
</script>
I took at the logowrapper and such because i didnt think it needed all that since it wasn't the header. This is a regular php file not a header. Please let me know what you think.
http://www.wpc-consulting.com/~stxmill/
go to the photogallery page
Re: Problem with Flash Header
Quote:
var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "560", "7",
Not sure that code above is correct, and as don't have actual flash swf
file cannot test BUT for header flash you would enter following path
Code:
includes/templates/arch_shoppe/photo_tutorial.swf
You may need to experiment with paths.
Re: Problem with Flash Header
I can move the flash file to that spot. My flash file is located here and you can few it directly from this link
http://www.wpc-consulting.com/~stxmi...o_tutorial.swf
Let me know how i need to change it please.
Re: Problem with Flash Header
Quote:
My flash file is located here and you can few it directly from this link
That's fine BUT not possible to save swf's from an url..
plus no idea how you have integrated this photogallery into your
zencart site.
Code on page quoted earlier does work.. you just have to adapt
it to your usage, including necessary/correct paths to both swf
and javascript file.
Re: Problem with Flash Header
I copied the swf to where you said "includes/templates/arch_shoppe/photo_tutorial.swf" and it made no difference. I actually couldnt even access it via the url. I typed in http://www.wpc-consulting.com/~stxmi...o_tutorial.swf
I tried typing in different paths in the define page editor but none of them made any difference. I actually had this working on my computer and another computer with the other settings i just couldnt figure out why it wouldnt work on any other computers. Now with this code it wont work on any. Not sure what is going on. I have found lots of different snippets of code but not sure which one will work for all computers or at least the majority of them. Because i know the other computers i tested the site on did in fact have flash installed.
Code:
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("includes/templates/arch_shoppe/photo_tutorial.swf", "photo_tutorial.swf", "550", "460", "7", "#000000");
so.write("flashcontent");
</script>
Re: Problem with Flash Header
Quote:
This text is replaced by the Flash movie.
Please post EXACT code you have there
Re: Problem with Flash Header
OK right now i have this code
Code:
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "460", "7", "#000000");
so.write("flashcontent");
</script>
This seems to be the closest to working. My path to the jscript file is correct i double check it. I am a little worried yes about the gallery3/photo_tutorial.swf path however before i changed the code up that path was working at least on two computers. How can i help you to help me figure this out.
If i go to my page right now it actually shows a black and grey box. Not the text like yours showed. Try again
http://www.wpc-consulting.com/~stxmi...=photo_gallery