- לינווייט - תשתיות תוכן וקהילה
- אמנון לבב - לבבי
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
| סוג | נושא | מאת | תגובות | התעדכן |
|---|---|---|---|---|
| שאלה | הכנסת קישור לעמוד | kolp | 0 | לפני 16 דקות 6 שניות |
| הודעה | ביצועים: דרופל או Zend Frameworks ? | לבבי | 0 | לפני שעה אחת 44 דקות |
| נותן שירות | Ilya Novo | copyhold | 0 | לפני 2 שעות 30 דקות |
| שאלה | מודולים להקמת רשת חברתית | noas | 1 | לפני 11 שעות 9 דקות |
| שאלה | בעיה בשינוי העיצוב של description | ענת | 7 | לפני 12 שעות 44 דקות |
| שאלה | logo tool | tsi | 2 | לפני 17 שעות 31 שניות |
| שאלה | עזרה הכנסת תוכן לאתר, בתשלום כמובן! עיזרו לי. | AKAVIS | 0 | לפני 17 שעות 3 דקות |
| הודעה | עוד מודול כחול לבן | amitai | 12 | לפני 18 שעות 32 דקות |
| הודעה | חסימת גישה לממשק הניהול | מתחילי | 0 | לפני יום אחד 21 שניות |
| שאלה | על ההבדל בין סוגי התוכן ה'קלאסים' | menros | 6 | לפני יום אחד 3 שעות |
בעניין: ביזבזתי שעות ולא הצלחתי למצוא פתרון - התפריט נעלם
בהגדרת regions נראה לי שהשתחל לך סימן $ טועה.
אורן זוסמן, לינווייט
לינווייט תשתיות תוכן קהילתיות
בעניין: בעניין: ביזבזתי שעות ולא הצלחתי למצוא פתרון - התפריט נעל
כן אני יודע סידרתי את זה לפני כן, זה לא זה...
(אבל תודה בין כה וכה)
איתן, פתחת כבר
איתן,
פתחת כבר דיון כאן: http://www.drupal.org.il/node/1894
אנא אל תפתח עוד דיונים על נושאים זהים. זה לא יעזור לך ולא יעזור לנו.
זהר סטולר, לינווייט
לינווייט תשתיות תוכן קהילתיות