Видимость блока для материалов определенного терма

Прислано: Аркадич

пн, 19/05/2008 - 08:16

Другие статьи по теме:

Как сделать чтобы блок показывался только на стрницах принадлежащих только одному опеределенно терму(term)?
Код приведенный на druapl.org работает только для второго случая

<?php
  //code snippet for causing block to show based on a node's taxonomy term OR on a designated string in the url.
  $make_block_visible = FALSE;
  $term_id_to_trigger_show_block = 21; // replace '21' your term id.
 
  if ((arg(0) == 'node') && is_numeric(arg(1))) {
    $terms = taxonomy_node_get_terms(arg(1));
    foreach($terms as $term) {
      if ($term->tid == $term_id_to_trigger_show_block) {
         $make_block_visible = TRUE;
      }
    }
  }
  // The following code will cause block to show on the designated term's built-in "view" page such as:
  // example.com/taxonomy/term/21

Beta 3

Прислано: Аркадич

чт, 22/11/2007 - 06:15

Другие статьи по теме:

Вышла 3 бета Друпала.
Все ближе к релизу :)

Drupal.org сломался....

Прислано: Аркадич

пн, 19/03/2007 - 06:22


Unable to connect to database server

If you still have to install Drupal, proceed to the installation page.

If you have already finished installed Drupal, this either means that the username and password information in your settings.php file is incorrect or that we can't connect to the MySQL database server. This could mean your hosting provider's database server is down.

The MySQL error was: Lost connection to MySQL server during query.

Drupal 5.0 РЕЛИЗ!!

Прислано: Аркадич

пн, 15/01/2007 - 12:30


Однако....вышел...http://drupal.org/drupal-5.0

Drupal RC2

Прислано: Аркадич

чт, 11/01/2007 - 06:49

Другие статьи по теме:

Все ближе финал

IBM. Переводы статей

Прислано: Аркадич

пн, 25/12/2006 - 11:35

Другие статьи по теме:

На сайте IBM стали доступны статьи на русском языке по Drupal.

От редактора сайта: это переводы статей с IBM Developer Works, ссылки на которые мы давали ранее:
http://www.drupal.ru/node/1886
http://www.drupal.ru/node/2266

Drupal 5.0 Release Candidate 1

Прислано: Аркадич

пт, 15/12/2006 - 13:26


Однако вышел сабж

RSS-материал

Ссылки партнёров