I have modified the page.tpl.php by adding a simple flash and jpg within the header. If I leave clean URL's disabled, all is well. When I enable the clean URL's, some of the pages just show a broken link (blank space). Not all pages, but some of the admin sections, the calendar page, and a few others. I have tried many configurations, but the only one that definitely works is turning off the clean URL's.
Ever seen anything like this?







Update
After writing this last night, I found that even with the clean URL's turned off, the contact form still doesn't show the header information. Seems like these pages aren't finding the header information in the page.tpl.php file.
How?
How are you adding information to the headers? This makes a difference and could be part of the issue.
Matt Farina
Geeks and God Co-Host
www.innovatingtomorrow.net
www.mattfarina.com
Dreamweaver
Matt,
Thanks for the reply. I opened the page.tpl.php file with Dreamweaver and used it to insert the flash and jpg image. The active site is the one associated with my profile. Below is the php file I use:
<head>
<title><?php print $head_title; ?></title>
<?php print $head; ?>
<?php print $styles; ?>
<?php print $scripts; ?>
<script type="text/javascript"> </script>
</head>
<body class="body-<?php print $layout; ?>">
<div class="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="650" height="72">
<param name="movie" value="files/images/Banner.swf" />
<param name="quality" value="high" />
<embed src="files/images/Banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="650" height="72"></embed></object>
<img src="files/images/bannerbg.jpg" width="100%" />
<h1>
<?php if ($site_slogan): ?>
</span class="site-slogan"><?php print $site_slogan; ?></span>
<?php endif; ?>
</h1> <?php if ($search_box): ?>
<form action="<?php print url("search") ?>" method="post" class="search">
<input class="form-text" type="text" size="15" value="" name="keys" />
<input class="form-submit" type="submit" value="<?php print t("Search")?>" />
</form>
<?php endif; ?>
<?php print $header; ?>
</div>
<div class="container clear-block">
<?php if ($sidebar_left): ?>
<div class="sidebar sidebar-left"><?php print $sidebar_left; ?></div>
<?php endif; ?>
<div class="page">
<?php if ($breadcrumb): ?>
<div class="breadcrumb"><?php print $breadcrumb; ?></div>
<?php endif; ?>
<?php if ($messages): ?>
<?php print $messages; ?>
<?php endif; ?>
<?php print $contenttop; ?>
<?php if ($is_front && $mission): ?>
<div class="mission"><?php print $mission; ?></div>
<?php endif; ?>
<?php if ($title): ?>
<h2 class="title"><?php print $title; ?></h2>
<?php endif; ?>
<?php if ($help): ?>
<div class="help"><?php print $help; ?></div>
<?php endif; ?>
<?php if ($tabs): ?>
<?php print $tabs; ?>
<?php endif; ?>
<?php print $content; ?>
</div>
<?php if ($sidebar_right): ?>
<div class="sidebar sidebar-right"><?php print $sidebar_right; ?></div>
<?php endif; ?>
</div>
<div class="footer">
<?php if ($footer_message): ?><?php print $footer_message; ?><?php endif; ?>
</div>
<?php print $closure; ?>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-3133402-1";
urchinTracker();
</script>
</body>
</html>
relativeness
Take a look at your url to your image/flash. It looks something like "files/images/Banner.swf". This is a relative URL to your current position. So, if you are at example.com/test/me the path would be example.com/test/files/images/Banner.swf.
If you want this to be a relative URL to your domain it should be "/files/images/Banner.swf". That initial / will tie it to the root of the domain.
Matt Farina
Geeks and God Co-Host
www.innovatingtomorrow.net
www.mattfarina.com
Matt, You are amazing!
Something so simple, I'm almost ashamed. I knew better and didn't even see that.
Just one of the many reasons God put you where you are! Thanks, Clean URL's are now working.
Don