Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
to fix this, in "function nodewords_ui_user"
i changed this:
if ($bool) {
$form['nodewords'] = nodewords_tags_edit_fields(
array('type' => NODEWORDS_TYPE_USER, 'id' => $account->uid),
isset($account->nodewords['metatags']) ? $account->nodewords['metatags'] : array()
);
return $form;
}
to this:
if ($bool) {
$form['nodewords'] = nodewords_tags_edit_fields(
array('type' => NODEWORDS_TYPE_USER, 'id' => $account->uid),
isset($account->nodewords['metatags']) ? $account->nodewords['metatags'] : array(),
array(
'fieldset' => TRUE,
'tag options' => array('content type' => $form['type']['#value']),
)
);
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedI changed the code as per patch, with the exception that the index
'tag options'
is not used for the user profile meta tags (the content type doesn't have any meaning for a user profile). Thanks for your report.