Hello,

I have created a special set of default meta tags for a certain content type on my site. It was found that if I re-define let's say "Description" meta tag in "Content: type" it will not work until I make "Description" meta tag empty for "Content" defaults.

Is it a "works as expected"?

I thought that configs for a specific content type should have a higher priority over general content type.

Backup:
"Content"

 $config = new stdClass;
$config->disabled = FALSE; /* Edit this to true to make a default config disabled initially */
$config->api_version = 1;
$config->cid = '3';
$config->instance = 'node';
$config->config = array(
  'description' => array(
    'value' => '[node:summary]',
  ),
  'title' => array(
    'value' => '[node:title] | [site:name]',
  ),
);

"Content: type"

 $config = new stdClass;
$config->disabled = FALSE; /* Edit this to true to make a default config disabled initially */
$config->api_version = 1;
$config->cid = '2';
$config->instance = 'node:map_obj';
$config->config = array(
  'description' => array(
    'value' => '[node:field_brief_descr]',
  ),
);
 

Comments

DamienMcKenna’s picture

Status: Active » Closed (duplicate)