|
|||
|
I have used the dw extention and find it great. I have never used flash in my sites until now. I don't know if it's a setting on dw8 or just me, but I can't seem to get flash movies to show up. (as I said, i'm new to using flash in php) I tried making a simple table then inserting the flash movie, used the convert to cms (after I updated the xml file) to see if it would show. Am I doing something wrong?
Thanks, Matthew |
|
|||
|
yeah, it's in the images folder. I watched your video a few times over to make sure I had everything right before posting. I followed the video exactly, except for creating the whole template. I started a template then wanted to see my progress, that's when I noticed that the flash wasn't showing up. After that I created new joomla base files and have been creating one table and trying various ways to get the flash to show. The funny thing is, the images show just fine.
|
|
|||
|
yes, i did. The images show in the template, the flash is missing. Not even an alt tag is present. I did notice however, in your video dreamweaver shows the extension of the files in the window and mine does not. Don't think that has anything to do with it. I even installed the same server as what you had shown (xampp) instead of wamp5, same result. I'm really confused as to what the problem may be. Check details.xml, all present and accounted for. All images/swf are in images folder, changed table w/h to that of the flash (still nothing), made table a bit larger then flash (nope). I even checked the code after I switched images to cms and code seems to be inserted. I am at a loss.
|
|
|||
|
Then it could be 5 things
1. Your Dreamweaver Setup files have not been put on the Joomla install where your template is. set "local or remote" on the DW files Panel. 2. way you ran the image wizard wrong way now the code does point right location. 3. Your Browser flash version is not up to date. 4. Blocking Flash content via some Anti virus, FF extension or IE Security setting not to via local flash files. 5. Flash file is not Good or is calling some other files? Via: Var's,or images. Also post the code if this gets to long please open a support ticket. I have tested this on Mac and PC it should not be an issue with the extension. What your setup? OS DW version Web server if you install all those web servers your going to run into an issue with ports. Xammp, WAMP etc.. Last edited by admin; 04-27-2007 at 02:34 PM. |
|
|||
|
os Winxp
server xampp using studio 8 dw8 Here is the code: <body> <table width="100%" cellspacing="0" cellpadding="0"> <tr> <td background="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>bckgd_td_top.gif"><table width="780" cellspacing="0" cellpadding="0"> <tr> <td width="200"> </td> <td width="1" bgcolor="#000000"> </td> <td width="304"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','304','heigh t','81','title','logo','src','<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logo_anim','quality','high','pluginspage','http ://www.macromedia.com/go/getflashplayer','movie','<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logo_anim' ); //end AC code </script><noscript><object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="304" height="81" title="logo"><param name="movie" value="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logo_anim.swf" /> <param name="quality" value="high" /> <embed src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>logo_anim.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="304" height="81"></embed> </object></noscript></td> <td width="275"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>topright.gif" alt="topr" width="275" height="81" /></td> </tr> </table></td> </tr> </table> <table width="780" cellspacing="0" cellpadding="0"> <tr> <td width="505"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>top_blackline.gif" alt="topbl" width="505" height="1" /></td> <td width="275"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>topright2.gif" alt="topr2" width="275" height="1" /></td> </tr> </table> </body> </html> |
|
|||
|
One other thought if you’re running DW CS3 or DW 8 there maybe a JavaScript file needed. May look like this see head section of index.php file
<script src="includes/scripts/AC_RunActiveContent.js" type="text/javascript"></script> You may need to add the file to your images folder of your template AC_RunActiveContent.js => copy to your Joomla template images folder Then change the path Delete this path “includes/scripts/” So it looks like this//<script src="{leave mouse curser here!}AC_RunActiveContent.js" type="text/javascript"></script> Then use the Jtools Menu => Pull down => “Writes the template image path” Then it would look like this. <script src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?> AC_RunActiveContent.js" type="text/javascript"></script> Last edited by admin; 04-27-2007 at 02:36 PM. |
|
|||
|
thanks for the quick reply. I didn't quite understand that last message though.... the full coding before the body reads:
<?php /** * @Template Name: Neutrel * @Version: 1.0 * @Package: A Joomla 1.0.X template * @Copyright: (C) 2007 by Matthew Marino - F.B.I * @License: F.B.I **/ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <?php mosShowHead(); ?> <?php if ($my->id) {initEditor();}?> <link href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css";?>" rel="stylesheet" type="text/css" media="all" /> <link rel="shortcut icon" href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/favicon.ico"; ?>" /> <!-- This so you can see the css styles in DW you can delete file once editing Template is complete--> <link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head> <body> |
|
|||
|
Then it's the JS file
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> change to this <script src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?> AC_RunActiveContent.js" type="text/javascript"></script> see the post above this one. ../Scripts/ = “includes/scripts/” Same steps as last post. or just copy the code above. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|