From 9af445ae3ba5a6ce27bda11ae527da494e152d71 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Mon, 10 Jan 2011 16:11:59 -0400 Subject: [PATCH] ISLANDORA-160 Add default icons for collection and content model objectsContent modeller now adds default icons to content model and collection objects. --- content_modeller/islandora_content_modeller.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content_modeller/islandora_content_modeller.module b/content_modeller/islandora_content_modeller.module index beba3e54..b6659053 100644 --- a/content_modeller/islandora_content_modeller.module +++ b/content_modeller/islandora_content_modeller.module @@ -3420,7 +3420,7 @@ function icm_model_new_submit($form,&$form_state) $item = Fedora_Item::ingest_new_item($form_state['storage']['values'][1]['form']['pid'],'A',$form_state['storage']['values'][1]['form']['name']); $item->add_relationship('fedora-model:hasModel','info:fedora/fedora-system:ContentModel-3.0',FEDORA_MODEL_URI); - + $item->add_datastream_from_file(drupal_get_path('module', 'fedora_repository').'/images/Crystal_Clear_mimetype_widget_doc.png', 'TN', 'Thumbnail'); switch ($form_state['storage']['values'][1]['form']['initialize']) { case 'blank':