[eluser]beatryder[/eluser]
[quote author="flumps" date="1187139710"]thats seems to have done the trick...
although ive got a problem with my flash header now :-s again its not liking the word this with a fatal error of....
Fatal error: Using $this when not in object context in... on line 16 of header.php
here is the entire content of my header.php file :-s
Quote:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>TITLE</title>
<link href="<?=$base_view;?>style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="766" align="center">
<!--flash-->
<tr>
<td style="width:766px; height:325px;">
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="766" height="325">
<param name="movie" value="<?=$this->config->item('base_view');?>flash/header_final.swf?button=1">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="<?=$this->config->item('base_view');?>flash/header_final.swf?button=1"
width="766" height="325" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object></td>
</tr>
[/quote]
Replace
Code:
<object data="<?=$this->config->item('base_view');?>flash/header_final.swf?button=1"
width="766" height="325" type="application/x-shockwave-flash">
with
Code:
<object data="<?=$base_view?>flash/header_final.swf?button=1"
width="766" height="325" type="application/x-shockwave-flash">
like you did with your style declaration.
edit: also if you use the [ code ] tags the forums will keep the formating of your code when you post it, and will also highlight it like ours is.