首頁問題

開源、多功能、高自訂性及高擴充性的內容管理系統。

版主: hamu278, 銘仔

版面規則
  • 發問時注明 Drupal 版本及之前做過的動作。

首頁問題

文章帥童`030 » 2009-05-30, 13:45

你們如何修改i-circle 標題?

drupal 我找了很久也找不到- -

我不喜萊他..xxxx|site 咁樣啊
帥童`030
天王星會員
 
文章: 46
註冊時間: 2009-05-18, 22:06

Re: 首頁問題

文章bananasims » 2009-05-30, 19:36

includes/theme.inc, includes/theme.maintenance.inc

代碼: 選擇全部
  // Construct page title
  if (drupal_get_title()) {
    $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal'));
  }
  else {
    $head_title = array(variable_get('site_name', 'Drupal'));
    if (variable_get('site_slogan', '')) {
      $head_title[] = variable_get('site_slogan', '');
    }
  }
  $variables['head_title']        = implode(' | ', $head_title);

取代為
代碼: 選擇全部
  // Construct page title
  if (drupal_get_title()) {
    $head_title = array(variable_get('site_name', 'Drupal'), strip_tags(drupal_get_title()));
  }
  else {
    $head_title = array(variable_get('site_name', 'Drupal'));
    if (variable_get('site_slogan', '')) {
      $head_title[] = variable_get('site_slogan', '');
    }
  }
  $variables['head_title']        = implode(' • ', $head_title);
影像.從心 At the heart of the ímage
bananasims
太陽會員
 
文章: 13541
註冊時間: 2005-09-22, 00:00


回到 [B1d] Drupal



誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 6 位訪客

cron