From 7864b0066b4ad3fc17ce1526b1e4ecae52b2f9c8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 17 Apr 2010 12:34:02 +0000 Subject: - Patch #762404 by BarisW: improve the field name of taxonomy fields. --- profiles/standard/standard.install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'profiles') diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 75db91ec2..90deff7f2 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -247,7 +247,7 @@ function standard_install() { 'predicates' => array('rdfs:seeAlso'), 'type' => 'rel', ), - 'taxonomy_tags' => array( + 'field_tags' => array( 'predicates' => array('dc:subject'), 'type' => 'rel', ), @@ -284,7 +284,7 @@ function standard_install() { taxonomy_vocabulary_save($vocabulary); $field = array( - 'field_name' => 'taxonomy_' . $vocabulary->machine_name, + 'field_name' => 'field_' . $vocabulary->machine_name, 'type' => 'taxonomy_term_reference', // Set cardinality to unlimited for tagging. 'cardinality' => FIELD_CARDINALITY_UNLIMITED, @@ -300,7 +300,7 @@ function standard_install() { field_create_field($field); $instance = array( - 'field_name' => 'taxonomy_' . $vocabulary->machine_name, + 'field_name' => 'field_' . $vocabulary->machine_name, 'entity_type' => 'node', 'label' => $vocabulary->name, 'bundle' => 'article', -- cgit v1.2.3