|
|||
|
Ok....Brian, I am such a newbie and I am sorry to have to post this but I have read everything and tried everything but am unable to get this to work....nothing shows up, I am using CS3 and here is the code in my index.php....I do have the AC_RunActiveContent.js in the images folder...I guess I need another pair of eyes to see what is wrong...thanks in advance.
<?php /** * @Template Name: * @Version: * @Package: * @Copyright: * @License: **/ 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; charset=iso-8859-1" /> <?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"; ?>" /> <link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" /> <script src="images/AC_RunActiveContent.js" type="text/javascript"></script> </head> <body> <script type="text/javascript"> AC_AX_RunContent( 'classid','clsid27CDB6E-AE6D-11cf-96B8-444553540000','codebase','http://download.macromedia.com/pub/shock wave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','heigh t','200','title','twwheader','src','images/twwheader.swf','quality','high','pluginspage','htt p://www.macromedia.com/go/getflash player','type','application/x-shockwave-flash','movie','<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>twwheader.swf' ); //end AC code </script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shock wave/cabs/flash/swflash.cab#version=9,0,28,0" width="900" height="200" title="twwheader"> <param name="movie" value="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>twwheader.swf" /> <param name="quality" value="high" /> <embed src=<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>twwheader.swf" width="900" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflash player" type="application/x-shockwave-flash" movie="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>twwheader.swf"></embed> </object> </noscript> </body> </html> |
|
|||
|
look for this line .
Code:
<script src="images/AC_RunActiveContent.js" type="text/javascript"></script> Code:
<script src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>AC_RunActiveContent.js" type="text/javascript"></script> Cheers, Brian |
|
|||
|
Ok...tried that and it still did not work.....here is what I have now and this is the error I am getting.....can I growl now....lolol
Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in /home/texasweb/public_html/templates/Texas Web Works/index.php on line 49 Here is the index code: <?php /** * @Template Name: Texas Web Works * @Version: 1.0 * @Package: A Joomla 1.0.13 template * @Copyright: (C) 2007 by Kristie Fregia, Texas Web Works * @License: http://www.texaswebworks.net/ **/ 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; charset=iso-8859-1" /> <?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"; ?>" /> <link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" /> <script src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>AC_RunActiveContent.js" type="text/javascript"></script> </head> <body> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','heigh t','200','src','<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>twwheader','quality','high','pluginspage','http ://www.macromedia.com/go/getflash player','type','application/x-shockwave-flash','movie','<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>"; ?>twwheader.swf' ); //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=9,0,28,0" width="900" height="200"><param name="movie" value="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>"; ?>twwheader.swf" /> <param name="quality" value="high" /> <embed src=<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>"; ?>twwheader.swf" width="900" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflash player" type="application/x-shockwave-flash" movie="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>"; ?>twwheader.swf"></embed> </object></noscript> </body> </html> I had this working on another site and not sure why I cannot get it to work here....I appreciate your help. |
|
|||
|
You have run the wizard twice without clearing the old code.
1. Images to CMS 2. Images to DW You double Code:
<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?> Also please use the # in the forum then put the code inside it |
|
|||
|
Quote:
On the other I am going to start from scratch and try again...and see if that will help me... Thanks so much for this resource, Kristie |
|
|||
|
Fregia your no dummy.
We all start somewhere # is the button on the forum editor which makes two tags that look like this {code}{/code} add your code to middle. so it's easier to read for me or someone else to help you. thats all. Hang in there. Cheers, Brian |
|
|||
|
Well....I certainly felt like a dummy....never notice that # before...lolol...
On another note....after starting all over and taking a deep breath and doing exactly as posted IT WORKED! I am so excited....you are wonderfu! Thanks Kristie |
| Thread Tools | |
| Display Modes | |
|
|