使用Drupal与Zen 7.x-3.x和CTI Flex 7.x-1.0时的通知

时间:2012-06-18 20:01:46

标签: drupal drupal-7 drupal-zen

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

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).

1 个答案:

答案 0 :(得分:0)

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

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

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