media 65
Home | Login | Register | Password Reset |

Media 65 Technologies | Beta 0.6 |
User Name:   Password: 

Password Reset
Close


Go Back   Media 65 Forums > Joomla > Joomla Templates

 
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-2008, 07:38 PM
Junior Member
 
Join Date: Jun 2007
Posts: 17
Default Flash header

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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old 02-17-2008, 09:23 AM
Administrator
 
Join Date: Sep 2006
Posts: 332
Default

look for this line .
Code:
 <script src="images/AC_RunActiveContent.js" type="text/javascript"></script>
Replace it with this line.
Code:
<script src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>AC_RunActiveContent.js" type="text/javascript"></script>
Should be good.

Cheers,
Brian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 02-19-2008, 07:25 AM
Junior Member
 
Join Date: Jun 2007
Posts: 17
Default

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="clsid27CDB6E-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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 02-19-2008, 10:47 AM
Administrator
 
Join Date: Sep 2006
Posts: 332
Default

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/"; 
?>
the error is on the last line.

Also please use the # in the forum then put the code inside it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 02-19-2008, 04:36 PM
Junior Member
 
Join Date: Jun 2007
Posts: 17
Default

Quote:
Also please use the # in the forum then put the code inside it
Ok....I must really be a dummy because I am not sure what you are referring to.....I am sorry if I did something wrong.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6 (permalink)  
Old 02-19-2008, 04:41 PM
Administrator
 
Join Date: Sep 2006
Posts: 332
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old 02-19-2008, 10:52 PM
Junior Member
 
Join Date: Jun 2007
Posts: 17
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 09:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0