Drupalcon Szeged 2008

ביזבזתי שעות ולא הצלחתי למצוא פתרון - התפריט נעלם

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

בעניין: ביזבזתי שעות ולא הצלחתי למצוא פתרון - התפריט נעלם

בהגדרת regions נראה לי שהשתחל לך סימן $ טועה.

אורן זוסמן, לינווייט
לינווייט תשתיות תוכן קהילתיות

בעניין: בעניין: ביזבזתי שעות ולא הצלחתי למצוא פתרון - התפריט נעל

כן אני יודע סידרתי את זה לפני כן, זה לא זה...
(אבל תודה בין כה וכה)

איתן, פתחת כבר

איתן,

פתחת כבר דיון כאן: http://www.drupal.org.il/node/1894
אנא אל תפתח עוד דיונים על נושאים זהים. זה לא יעזור לך ולא יעזור לנו.

זהר סטולר, לינווייט
לינווייט תשתיות תוכן קהילתיות

חדש באתר

סוגסמל מיוןנושאמאתתגובותהתעדכן
שאלההכנסת קישור לעמוד kolp0לפני 16 דקות 6 שניות
הודעהביצועים: דרופל או Zend Frameworks ? לבבי0לפני שעה אחת 44 דקות
נותן שירותIlya Novo copyhold0לפני 2 שעות 30 דקות
שאלהמודולים להקמת רשת חברתית noas1לפני 11 שעות 9 דקות
שאלהבעיה בשינוי העיצוב של description ענת7לפני 12 שעות 44 דקות
שאלהlogo tool tsi2לפני 17 שעות 31 שניות
שאלהעזרה הכנסת תוכן לאתר, בתשלום כמובן! עיזרו לי. AKAVIS0לפני 17 שעות 3 דקות
הודעהעוד מודול כחול לבן amitai12לפני 18 שעות 32 דקות
הודעהחסימת גישה לממשק הניהול מתחילי0לפני יום אחד 21 שניות
שאלהעל ההבדל בין סוגי התוכן ה'קלאסים' menros6לפני יום אחד 3 שעות