Closed (works as designed)
Project:
Flag
Version:
7.x-3.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2013 at 17:57 UTC
Updated:
23 May 2013 at 18:24 UTC
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
Comment #1
joachim commentedThe default is defined in hook_theme(). Did you run the update process? Can you try clearing your caches?
Comment #2
christian death commentedThanks, the update process solve the problem.
Comment #3
joachim commentedOk. Thanks for reporting!
Comment #3.0
joachim commentedInsert flag option