[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.5

Flash header on Drupal theme

Asked by zerog in Drupal

Tags: drupal flash header

How do I replace the JPEG header in the following drupal theme. I have tried, but have been unsuccessful. The flash header filename is header.swf with width = 890 height 175.

The code for my page.tpl.php page is below.

Thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo get_page_language($language); ?>" xml:lang="<?php echo get_page_language($language); ?>">
 
<head>
  <title><?php if (isset($head_title )) { echo $head_title; } ?></title>
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  <?php echo $head; ?>  
  <script type="text/javascript" src="<?php echo get_full_path_to_theme(); ?>/script.js"></script>  
  <?php echo $styles ?>
  <?php echo $scripts ?>
  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $base_path . $directory; ?>/style.ie6.css" type="text/css" /><![endif]-->  
  <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
</head>
 
<body>
<div class="PageBackgroundSimpleGradient">
</div>
<div class="PageBackgroundGlare">
    <div class="PageBackgroundGlareImage"></div>
</div>
<div class="Main">
<div class="Sheet">
    <div class="Sheet-tl"></div>
    <div class="Sheet-tr"><div></div></div>
    <div class="Sheet-bl"><div></div></div>
    <div class="Sheet-br"><div></div></div>
    <div class="Sheet-tc"><div></div></div>
    <div class="Sheet-bc"><div></div></div>
    <div class="Sheet-cl"><div></div></div>
    <div class="Sheet-cr"><div></div></div>
    <div class="Sheet-cc"></div>
    <div class="Sheet-body">
 
<div class="Header">
<div class="Header-jpeg"></div>  
   
<div class="logo">
 <?php if ($site_name) : ?>
 <h1 class="logo-name"><a href="<?php echo check_url($base_path); ?>" title = "<?php echo $site_name; ?>"><?php echo $site_name; ?></a></h1>
 <?php endif; ?>
 <?php if ($site_slogan) : ?>
 <div class="logo-text"><?php echo $site_slogan; ?></div>
 <?php endif; ?>
</div>
</div>
<div class="nav">
<?php
if (get_drupal_version() >= 6) {
	$menu_name = variable_get('menu_default_node_menu', 'primary-links');
	$tree = menu_tree_page_data($menu_name);
	echo art_menu_tree_output_d6($tree);
} else {
	echo art_menu_tree_output_d5(variable_get('menu_primary_menu',0));
}
?>
<div class="l"></div>
<div class="r"><div></div></div>
</div>
<div class="contentLayout">
<div class="content">
<div class="Post">
    <div class="Post-body">
<div class="Post-inner">
<div class="PostContent">
<?php if (!empty($breadcrumb)): print theme('breadcrumb', $breadcrumb); endif; ?>
<?php if (!empty($tabs)): print $tabs.'<div class="cleared"></div>'; endif; ?>
<?php if (!empty($tabs2)): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
<?php if (isset($mission)): print '<div id="mission">' . $mission . '</div>'; endif; ?>
<?php if (isset($help)): print $help; endif; ?>
<?php if (isset($messages)): print $messages; endif; ?>
<?php print art_content_replace($content); ?>
 
</div>
<div class="cleared"></div>
 
</div>
 
    </div>
</div>
 
</div>
<div class="sidebar1">
<?php
if (isset($sidebar_right)) print $sidebar_right;
else if (isset($right)) print $right; 
?>
</div>
 
</div>
<div class="cleared"></div>
<div class="Footer">
    <div class="Footer-inner">
        <a href="<?php $feedsUrls = array_keys(drupal_add_feed()); if(isset($feedsUrls[0]) && strlen($feedsUrls[0])>0) {echo $feedsUrls[0];} ?>" class="rss-tag-icon" title="RSS"></a>
        <div class="Footer-text">
        <?php echo $footer_message; ?>
        <?php echo $footer; ?>
        </div>
    </div>
    <div class="Footer-background"></div>
</div>
 
    </div>
</div>
<p class="page-footer">
  <?php //echo t('Powered by ').'<a href="http://drupal.org/">'.t('Drupal').'</a>'.t(' and ').'<a href="http://www.artisteer.com/drupal">Drupal Theme</a>'.t(' created with ').'Artisteer'; ?>
 
</p>
 
</div>
 
 
<?php if ($closure_region): ?>
  <div id="closure-blocks"><?php print $closure_region; ?></div>
<?php endif; ?>
<?php print $closure; ?>
 
</body>
</html>
[+][-]07/15/09 02:18 PM, ID: 24864300Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Drupal
Tags: drupal flash header
Sign Up Now!
Solution Provided By: bounsy
Participating Experts: 1
Solution Grade: A
 
[+][-]07/15/09 10:09 PM, ID: 24866532Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625