To reproduce:

1. Install Drupal 7 Alpha 1 ( 'standard' install )
2. download and instal http://ftp.drupal.org/files/projects/zen-7.x-3.x-dev.tar.gz
3. enable zen theme
4. go to front page, click on the 'Add new content' link

This works, but I get 4 errors printed:

Notice: Undefined variable: contextual_links in include() (line 53 of /Users/jeffg/Sites/drop7/sites/all/themes/zen/templates/block.tpl.php).

Comments

canuckistani’s picture

adding this:


  // initialize contextual_links as an empty array
  $vars['contextual_links'] = array();

...in zen_preprocess_block() a line 268 of template.php suppresses this warning. Doubt that's the right answer though.

JohnAlbin’s picture

Title: missing variable error on D7 Alpha » Notice: Undefined variable: contextual_links on D7 Alpha 1

Yep, you are correct!

$contextual_links was renamed to something else a few weeks before alpha1 was released.

I'll need to sync the d7 core templates with Zen again.

JohnAlbin’s picture

Status: Active » Fixed

Fixed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.