【问题标题】:Notifications when using Drupal with Zen 7.x-3.x and CTI Flex 7.x-1.0将 Drupal 与 Zen 7.x-3.x 和 CTI Flex 7.x-1.0 一起使用时的通知
【发布时间】:2012-06-18 20:01:46
【问题描述】:

我在许多页面上收到以下通知:

Notice: Undefined variable: jump_link_target in include() (line 74 of /Users/peter/dev/eyestreet.com/drupal/sites/default/themes/cti_flex/templates/html.tpl.php).

【问题讨论】:

    标签: drupal drupal-7 drupal-zen


    【解决方案1】:

    CTI Flex 作者仍在努力与 Zen 7.x - 3.x 兼容。见http://drupal.org/node/1590214。与此同时,这个 hack 似乎奏效了:

    复制以settings[zen_jump_link_target] 开头的行并将其更改为settings[zen_skip_link_anchor]

    themes/cti_flex/templates/html.tpl.php 中,将$jump_link_target 替换为$skip_link_anchor

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-16
      相关资源
      最近更新 更多