Hello everyone,
I've converted a design from 5.X to work with 6.X but from some reason the right menu is gone.
this is the website: www.orbaaretz.org

this is the tamplate.php:

<?php
  return array(
    '$right' => t('right sidebar'),
    'content' => t('content'),
    'footer' => t('footer')
  );


/**
 * Return a themed breadcrumb trail.
 *
 * @param $breadcrumb
 *   An array containing the breadcrumb links.
 * @return a string containing the breadcrumb output.
 */
function phptemplate_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
  }
}

/**
 * Allow themable wrapping of all comments.
 */
function phptemplate_comment_wrapper($content, $type = null) {
  static $node_type;
  if (isset($type)) $node_type = $type;

  if (!$content || $node_type == 'forum') {
    return '<div id="comments">'. $content . '</div>';
  }
  else {
    return '<h3 id="comments">'. t('Comments') .'</h3><ol class="commentlist">'. $content .'</ol>';
  }
}

and this is the page.tpl.php:

<!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" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
  <head profile="http://gmpg.org/xfn/11">
    <title><?php print $head_title ?></title>
    <?php print $head ?>
    <?php print $styles ?>
    <?php print $scripts ?>
    <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>
  </head>
  <body>
<div id="page">
  <div id="header">
    <div id="headerimg">
	  <h1><a href="<?php print check_url($base_path); ?>"><?php print check_plain($site_name); ?></a></h1>
	  <div class="description"><?php print check_plain($site_slogan); ?></div>
	</div>	
	<?php if (isset($primary_links)) : ?>
      <?php print theme('links', $primary_links, array('class' => 'nav')) ?>
    <?php endif; ?>
  </div>
  
  <div id="content">
    <?php if ($breadcrumb): print $breadcrumb; endif; ?>
    <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
    <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'. $tabs .'</div>'; endif; ?>
    <?php if (isset($tabs2)): print $tabs2; endif; ?>
    <?php if ($help): print $help; endif; ?>
    <?php if ($show_messages && $messages): print $messages; endif; ?>
    <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
    <?php print $content ?>   
	
	<div class="navigation">
	  <span class="previous-entries"></span> <span class="next-entries"></span>
	</div>	
  </div>
  
	<div id="sidebar-right">
		<ul>
			<li>
				<?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
			</li>		
    <?php if ($right) { ?>
      <?php print $right ?>
<?php } ?>
		</ul>
	</div>
	
	<hr class="clear" />
    <div id="footer">
  <?php print $footer_message ?>
  <?php print $footer ?>
    </div>

  <?php print $closure ?>
  </body>
</html>

can anyone find the problem?

appricate anyhelp!
thanks
Eitan

Comments

mkalbere’s picture

This seems strange to me
return array(
'$right' => t('right sidebar'),
'content' => t('content'),
'footer' => t('footer')
);

it's not supposed to be

return array(
'right' => t('right sidebar'),
'content' => t('content'),
'footer' => t('footer')
);

eitanb3’s picture

its only cause i tryed playing with it a little bit, with the "$" or without, still won't work...
but thanks =)

bobtm’s picture

Have you created a
.info file ? D6 themes use this to define regions and features.

see http://drupal.org/node/132442

Bob

eitanb3’s picture

I have created an info file... don't think the problem has to do with it...