I installed the fine fckeditor contribution and this allows you to simply embed your flash movie straight into the page using the define page editor function in admin.
Example: www dot fingertipcrafts dot net
Hope this helps.
Rob
Printable View
I installed the fine fckeditor contribution and this allows you to simply embed your flash movie straight into the page using the define page editor function in admin.
Example: www dot fingertipcrafts dot net
Hope this helps.
Rob
Hi Rob
You said you installed the fine fckeditor contribution. What is this how do I get it and where do i find?
thanks
Hi
Zencart comes with an HTML editor called HTMLarea which for most main uses is fine. If you go to the Free Software Add Ons area (link at top of this page) you will see a contribution called FCKEditor which in my opinion is an improvement on the stock editor. Amongst other things it allows simple placement of flash movies and also (one of my favs) allows you to insert images directly from your pc/mac (HTMLarea only lets you insert images that are already uploaded to the server - ftp).
Go to http://www.zen-cart.com/index.php?ma...roducts_id=268 to download FCKEditor, unzip the files and follow the instructions to install. It is a very simple install!
Hope this answers your quesions.
Rob
I read and tryed everything on forums,.... but I still can't make SFWObject to work.
I upploaded the whole map to:
/includes/templates/1228/jscript/swfobject/swfobject.js
My flash file is in:
/includes/templates/1228/buttons/slovensko/slogan.swf
Please could someone explain exactly what should I do?
All that works because of I.E. !!!!!!!
When will people learn to use firefox!?
Sry, I'm a little angry :frusty:
What is your URL?
What version of swfobject.js are you using?
You may want to put your swf in your root.
Sawhorse
My version is 2.2
Can you please help me to make the code.
I move the "swfobject" map on my root.
If you want the swf on your main page you would place the code found in my post #121 in includes/languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php I used that code for swfobject.js ver 2.1 but I believe it will work for ver 2.2 as well.
Sawhorse
Can you please make the code for me.
My "flash movie" is in:
/public_html/basicinstinctlingerie/includes/templates/1228/buttons/slovensko/slogan.swf
My swfobject.js
/public_html/basicinstinctlingerie/swfobject.js
Thank you!
Jeet Kune Do,
Normally, I would neither place your flash movie (swf) nor would I place the swfobject.js (java script) in their current locations. But, let us keep them were they are and try to get your movie working on your home page.
What I need is the width and height (in pixels) of your swf movie.
Sawhorse
width 468, height 60
The flash movie should be in that location because I need that, each time you change the language, the banner change to configure the selected language.
As I understand I need to put that code in the source:
/public_html/basicinstinctlingerie/includes/templates/1228/buttons/<?php echo $_SESSION['language']; ?>/slogan.swf"
For the swfobject.js i can move it. Please, thell me where.
I would like to put the flash in tpl_header.php at the slogan div.
I dont' know how to write the source.... with http:www, just basicinstinctlingerie/includes.....
I really appreciate your help!
:yes:
I am unaware of language issues. I have never put the swf in tpl_header.php but if you know you need to put it here then so be it. I believe the code you need to use is as follows:Good luckPHP Code:
<!--top of flash display-->
<script type="text/javascript" src="basicinstinctlingerie/swfobject.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("6.0.0")) {
var fn = function() {
var att = { data:"includes/templates/1228/buttons/slovensko/slogan.swf", width:"468", height:"60"};
var par = { flashvars:"foo=bar" };
var id = "replaceMe";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(fn);
}
</script>
<div id="replaceMe">Alternative content</div>
<!--bottom of flash display-->
Sawhorse
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("slogan.swf", "flash player required", "468", "60", "6.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
</head>
<body>
<div id="flash player required">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
</body>
</html>
Now the flash is working in explorer, but in firefox i have the: "get the adobe flash player". ( I have version 10.0.......
I find a great tutorial here, but maybe I missed something.
PHP Code:
http://www.gotoandlearn.com/play?id=77
This tutorial should help a lot of users. I hope.
Check to see if you have loaded in your FF the plugin for adobe flash player.
Sawhrose
Yes, shockwave flash is enabled.
With the old code without swfobject.js it' worked.
My entire code looks like this. Is in tpl_header.php
It works for all the browser exept firefox.
What is intresting is that when I put the code with "firebug" wich inspect element on the page and show you the changes without save it, it works.
When I edit the tpl_header work's only in other browser. In F F i have the gif picture to get flash player.
PHP Code:
<div id="slogan">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("slogan.swf", "flash player required", "468", "60", "6.0.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
</head>
<body>
<div id="flash player required">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
</body>
</html>
</div>
I get the same thing you do.
Check your php code. The one you show is not the same as the one I gave you.
Sawhorse
Your code work's only in I.E. In F F i have alternative content.
I create the code with the swfobject generator. It' work's, but in F F i have the get the flash player.
So i don't know what to do anymore.... :frusty:
Thank you for your help!
It is as if swfobject.js can't be found. Where is it currently located?
Sawhorse
On the root.
Ok, that is not were I though it was located. This is what I thought
Old Code
New Code (if file is in root)PHP Code:
<script type="text/javascript" src="basicinstinctlingerie/swfobject.js"></script>
So the total code should look like:PHP Code:
<script type="text/javascript" src="swfobject.js"></script>
I am assuming that you have not moved your swf file.PHP Code:
<!--top of flash display-->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("6.0.0")) {
var fn = function() {
var att = { data:"includes/templates/1228/buttons/slovensko/slogan.swf", width:"468", height:"60"};
var par = { flashvars:"foo=bar" };
var id = "replaceMe";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(fn);
}
</script>
<div id="replaceMe">Alternative content</div>
<!--bottom of flash display-->
Try the above and see if it can find the file.
Sawhorse
I moved it and also tryed one more time this code, but in firefox I had the alternative text.
[FONT=Arial]My intent was to change the code to match where your swfobject.js was locacted not to move [/FONT][FONT=Arial]swfobject.js
I do not know what else to suggest.
Sawhorse[/FONT]
Thank's a lot for your support!
If I make it to work, I will post here.
Have a great time!
Thank you, any information you can provide to the forum will be appreciated.
Sawhorse
Hi guys,
This is what I put in my site, I still have a problem is that, I am operating a multi language site, is there any method to make bannerschange according to different languages?
<script type="text/javascript">
var swf_width=595
var swf_height=220
var files='images/banners/banner01.jpg|images/banners/banner02.jpg|images/banners/banner03.jpg|images/banners/banner03.jpg'
var links=''
var texts=''
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="images/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="images/banners/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>
If you really want to cheat use Photobucket I have for a few .swf and .flv files and it works great. Gives you 4 kinds of script to use.
Edit your stylesheet, and header info. Works both in IE and FF.
I just found out if you use photobucket or any or image db, you more and likely can't get your SSL to work.
This coincides with thread:
http://www.zen-cart.com/forum/showthread.php?t=137064
Hi Guys,
I would like to add a flash banner to my site on zen cart 138a. The domain is www.sexylingerie4u.com.au. I would like to know if possible which code to insert on which page to allow me to display flash file called lingerie4u.swf .
Where should I save this swf file.
Many Thanks
Renz
Look at post 121 in this thread it might help.
Hi Sawhorse
Thanks for your fast reply, I had seen that but I did not understand any of it...or if it was what I needed where I should have put it and what to change to point it to my file. I thought that was for JS or something.
I have also come across the following
<object type="application/x-shockwave-flash" data="includes/templates/theme163/images/lingerie4u.swf" width="100%" height="100">
<param name="movie" value="includes/templates/ theme163/images/lingerie4u.swf" /><param name="quality" value="high"><param name="BGCOLOR" value="#000000"><param name="menu" value="false">
</object>
this worked for me in includes/templates/theme163/common/tpl_header.php however this is not where I wanted it. I actually want it in place of the lady with the bra www.sexylingerie4u.com.au.
I don't know if its the right code.
Cheers
Renz
Look in bannerTwo for location
What I am saying the your imageis called within bannerTwo.Code:<img height="310" width="585" title=" Lingerie 4u " alt="Lingerie 4u" src="images/header_banner.jpg">
You can search for either and you can see were they are located and I believe you noted that the current location that you were able to place the swfso the search should be able to locate the file.Quote:
is not where I wanted it. I actually want it in place of the lady with the bra
I need to leave now, but others may be able to help further. I am not a programmer.
Sawhorse