Posted by BeMathis on November 2, 2009 at 5:07pm
Jump to:
| Project: | Marinelli |
| Version: | 6.x-2.96 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have created a flash banner for a website www.assetricity.com but the banner will not display on all pages.
The banner only shows on pages that have a path containing none of 1 path nodes
http://www.assetricity.com/ (works)
http://www.assetricity.com/home (works)
http://www.assetricity.com/node/services (does not work)
Just inserting a plane image using CSS will cause the image to be displayed on every page of the site but I cannot insert a shockwave file with CSS.
Any suggestions on what may be causing this problem.
Here is the modification to the page.tpl.php which i have done to display the flash banner.
<div id="header">
<?php
print '<object width="970" height="180" wmode=transparent>
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="sites/all/themes/marinelli/img/logo/Assetricitybanner.swf"></param>
<param name="allowFullScreen" value="false"></param>
<embed wmode=transparent allowScriptAccess="sameDomain" src="sites/all/themes/marinelli/img/logo/Assetricitybanner.swf" type="application/x-shockwave-flash" allowfullscreen="false" width="970" height="180"></embed>
</object>';
?>
Comments
#1
It seems that clean urls was somehow not agreeing with the setup. When I turned clean urls off everything works just fine.