I have created a content type which name is " Artícle d'opinió " but it don't appear ok, ' is replaced with ' I explorted my content type so it can be tested:
$content[type] = array (
'name' => 'Article d\'opinió',
'type' => 'article_opinio',
'description' => 'Article d\'opinió d\'algú del moviment.',
'title_label' => 'Títol',
'body_label' => 'Cos',
'min_word_count' => '0',
'help' => '',
'node_options' =>
array (
'status' => true,
'promote' => false,
'sticky' => false,
'revision' => false,
),
'nodefamily_max' => '0',
'comment' => '2',
'event_nodeapi' => 'never',
'upload' => '1',
'image_attach' => '1',
'image_attach_weight_teaser' => '0',
'image_attach_weight_body' => '0',
'privatemsg_link' =>
array (
'node' => false,
'teaser' => false,
'comment' => false,
),
'old_type' => 'article_opinio',
'orig_type' => '',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
'taxonomy_context_inline' => '0',
'taxonomy_context_breadcrumb' => '0',
);
Comments
Comment #1
yched commentedThis is for drupal core. In drupal 5, CCK does not handle the content types, but only the addition of custom fields.
Comment #2
tr commentedDrupal 5 is no longer supported, and cannot reproduce this in Drupal 6.