Hello,

i updated to new flag 3.0 beta1 and now I become this message

Notice: Undefined variable: needs_wrapping_element in include() (Zeile 42 von /drupal/sites/all/modules/flag/theme/flag.tpl.php).

This is my Flag option

$flags = array();
// Exported flag: "Merkliste".
$flags['merkliste'] = array (
  'entity_type' => 'node',
  'title' => 'Merkliste',
  'global' => '0',
  'types' => 
  array (
    0 => 'clothing',
  ),
  'errors' => 
  array (
  ),
  'flag_short' => 'Flag this item',
  'flag_long' => '',
  'flag_message' => '',
  'unflag_short' => 'Unflag this item',
  'unflag_long' => '',
  'unflag_message' => '',
  'unflag_denied_text' => '',
  'link_type' => 'toggle',
  'weight' => 0,
  'show_in_links' => 
  array (
    'full' => 'full',
    'teaser' => 0,
    'rss' => 0,
    'search_index' => 0,
    'search_result' => 0,
    'token' => 0,
  ),
  'show_as_field' => 0,
  'show_on_form' => 0,
  'access_author' => '',
  'show_contextual_link' => 0,
  'i18n' => 0,
  'api_version' => 3,
);
return $flags;

Comments

joachim’s picture

Version: 7.x-3.0-beta1 » 7.x-3.x-dev
Status: Active » Postponed (maintainer needs more info)

The default is defined in hook_theme(). Did you run the update process? Can you try clearing your caches?

christian death’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanks, the update process solve the problem.

joachim’s picture

Status: Closed (fixed) » Closed (works as designed)

Ok. Thanks for reporting!

joachim’s picture

Issue summary: View changes

Insert flag option