Advertisement
Guest User

Untitled

a guest
Jun 5th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1. $content['type'] = array (
  2. 'name' => 'Photo Gallery',
  3. 'type' => 'photo_gallery',
  4. 'description' => 'A high resolution photo gallery.',
  5. 'title_label' => 'Title',
  6. 'body_label' => 'Body',
  7. 'min_word_count' => '0',
  8. 'help' => '',
  9. 'node_options' =>
  10. array (
  11. 'status' => true,
  12. 'promote' => true,
  13. 'revision' => true,
  14. 'sticky' => false,
  15. ),
  16. 'old_type' => 'photo_gallery',
  17. 'orig_type' => '',
  18. 'module' => 'node',
  19. 'custom' => '1',
  20. 'modified' => '1',
  21. 'locked' => '0',
  22. 'og_content_type_usage' => 'group_post_standard',
  23. 'og_max_groups' => '',
  24. 'nodewords_edit_metatags' => 1,
  25. 'nodewords_metatags_generation_method' => '1',
  26. 'nodewords_metatags_generation_source' => '3',
  27. 'nodewords_use_alt_attribute' => 1,
  28. 'nodewords_filter_modules_output' =>
  29. array (
  30. 'imagebrowser' => false,
  31. 'img_assist' => false,
  32. ),
  33. 'nodewords_filter_regexp' => '',
  34. 'rdf_schema_class' => '',
  35. 'comment' => '0',
  36. 'comment_default_mode' => '4',
  37. 'comment_default_order' => '1',
  38. 'comment_default_per_page' => '50',
  39. 'comment_controls' => '3',
  40. 'comment_anonymous' => '0',
  41. 'comment_subject_field' => '1',
  42. 'comment_preview' => '1',
  43. 'comment_form_location' => '0',
  44. 'page_title' =>
  45. array (
  46. 'show_field' =>
  47. array (
  48. 'show_field' => false,
  49. ),
  50. 'pattern' => '',
  51. ),
  52. 'tableofcontents_toc_automatic' => '0',
  53. 'tableofcontents_vtoc' => 0,
  54. 'tableofcontents_remove_from_teaser' => 1,
  55. 'teaserthumbnail' => '1',
  56. 'teaserthumbnail_attachment' => 1,
  57. 'teaserthumbnail_teaser' => '1',
  58. 'teaserthumbnail_rss' => '1',
  59. 'teaserthumbnail_link' => 1,
  60. 'teaserthumbnail_align' => '1',
  61. 'teaserthumbnail_preset' => 'Teaser_Thumbnail_150x100',
  62. 'teaserthumbnail_min_height' => '',
  63. 'teaserthumbnail_min_width' => '',
  64. 'vertical_tabs_default_tab' => 'Photo Gallery',
  65. 'ant' => '0',
  66. 'ant_pattern' => '',
  67. 'ant_php' => 0,
  68. 'notifications_content_type' =>
  69. array (
  70. 'thread' => true,
  71. 'nodetype' => true,
  72. 'author' => true,
  73. 'grouptype' => false,
  74. 'group' => false,
  75. 'typeauthor' => false,
  76. ),
  77. );
  78. $content['groups'] = array (
  79. 0 =>
  80. array (
  81. 'label' => 'Image Upload',
  82. 'group_type' => 'standard',
  83. 'settings' =>
  84. array (
  85. 'form' =>
  86. array (
  87. 'style' => 'fieldset',
  88. 'description' => '',
  89. ),
  90. 'display' =>
  91. array (
  92. 'description' => '',
  93. 5 =>
  94. array (
  95. 'format' => 'fieldset',
  96. 'exclude' => 0,
  97. ),
  98. 'teaser' =>
  99. array (
  100. 'format' => 'simple',
  101. 'exclude' => 0,
  102. ),
  103. 'full' =>
  104. array (
  105. 'format' => 'fieldset',
  106. 'exclude' => 0,
  107. ),
  108. 4 =>
  109. array (
  110. 'format' => 'fieldset',
  111. 'exclude' => 0,
  112. ),
  113. 2 =>
  114. array (
  115. 'format' => 'fieldset',
  116. 'exclude' => 0,
  117. ),
  118. 3 =>
  119. array (
  120. 'format' => 'fieldset',
  121. 'exclude' => 0,
  122. ),
  123. 'cck_blocks' =>
  124. array (
  125. 'format' => 'fieldset',
  126. 'exclude' => 0,
  127. ),
  128. 'token' =>
  129. array (
  130. 'format' => 'fieldset',
  131. 'exclude' => 0,
  132. ),
  133. 'label' => 'hidden',
  134. ),
  135. ),
  136. 'weight' => '-2',
  137. 'group_name' => 'group_image_upload',
  138. ),
  139. );
  140. $content['fields'] = array (
  141. 0 =>
  142. array (
  143. 'label' => 'Photo Upload',
  144. 'field_name' => 'field_photo_upload',
  145. 'type' => 'filefield',
  146. 'widget_type' => 'imagefield_widget',
  147. 'change' => 'Change basic information',
  148. 'weight' => '-1',
  149. 'file_extensions' => 'png gif jpg jpeg',
  150. 'progress_indicator' => 'bar',
  151. 'file_path' => 'photos/users/[user-raw]',
  152. 'max_filesize_per_file' => '',
  153. 'max_filesize_per_node' => '',
  154. 'max_resolution' => 0,
  155. 'min_resolution' => 0,
  156. 'custom_alt' => 1,
  157. 'alt' => '',
  158. 'custom_title' => 1,
  159. 'title_type' => 'textfield',
  160. 'title' => '',
  161. 'use_default_image' => 0,
  162. 'default_image_upload' => '',
  163. 'default_image' => NULL,
  164. 'filefield_sources' =>
  165. array (
  166. 'reference' => false,
  167. 'remote' => false,
  168. ),
  169. 'filefield_source_autocomplete' => '0',
  170. 'insert' => false,
  171. 'insert_styles' =>
  172. array (
  173. 0 => 1,
  174. 'auto' => false,
  175. 'link' => false,
  176. 'image' => false,
  177. 'imagecache_Full_Width_688px' => false,
  178. 'imagecache_Half_Width_350px' => false,
  179. 'imagecache_Image-Scale-520w' => false,
  180. 'imagecache_Image-Scale-668w' => false,
  181. 'imagecache_no_change' => false,
  182. 'imagecache_photo_gallery_916w' => false,
  183. 'imagecache_photo_gallery_936w' => false,
  184. 'imagecache_Profile_Avatar_41x37' => false,
  185. 'imagecache_Profile_Avatar_57x51' => false,
  186. 'imagecache_Profile_Avatar_74x67' => false,
  187. 'imagecache_Profile_Avatar_74x67_BW' => false,
  188. 'imagecache_Profile_Avatar_100x89_BW' => false,
  189. 'imagecache_Profile_Avatar_171x153' => false,
  190. 'imagecache_Profile_Avatar_171x153_BW' => false,
  191. 'imagecache_Quarter_Width_175px' => false,
  192. 'imagecache_Sidebar_205w' => false,
  193. 'imagecache_Teaser_Thumbnail_75x50' => false,
  194. 'imagecache_Teaser_Thumbnail_150x100' => false,
  195. 'imagecache_Tiny_Width_100px' => false,
  196. ),
  197. 'insert_default' =>
  198. array (
  199. 0 => 'auto',
  200. ),
  201. 'insert_class' => 'caption',
  202. 'insert_width' => '',
  203. 'description' => '',
  204. 'group' => 'group_image_upload',
  205. 'required' => 1,
  206. 'multiple' => '1',
  207. 'list_field' => '0',
  208. 'list_default' => 1,
  209. 'description_field' => '0',
  210. 'global_cck_blocks_settings' => '2',
  211. 'op' => 'Save field settings',
  212. 'module' => 'filefield',
  213. 'widget_module' => 'imagefield',
  214. 'columns' =>
  215. array (
  216. 'fid' =>
  217. array (
  218. 'type' => 'int',
  219. 'not null' => false,
  220. 'views' => true,
  221. ),
  222. 'list' =>
  223. array (
  224. 'type' => 'int',
  225. 'size' => 'tiny',
  226. 'not null' => false,
  227. 'views' => true,
  228. ),
  229. 'data' =>
  230. array (
  231. 'type' => 'text',
  232. 'serialize' => true,
  233. 'views' => true,
  234. ),
  235. ),
  236. 'rdf_property' => '',
  237. 'display_settings' =>
  238. array (
  239. 'weight' => '-1',
  240. 'parent' => 'group_image_upload',
  241. 'label' =>
  242. array (
  243. 'format' => 'hidden',
  244. ),
  245. 'teaser' =>
  246. array (
  247. 'format' => 'Teaser_Thumbnail_75x50_linked',
  248. 'exclude' => 0,
  249. ),
  250. 'full' =>
  251. array (
  252. 'format' => 'photo_gallery_916w_imagelink',
  253. 'exclude' => 0,
  254. ),
  255. 5 =>
  256. array (
  257. 'format' => 'image_plain',
  258. 'exclude' => 0,
  259. ),
  260. 4 =>
  261. array (
  262. 'format' => 'image_plain',
  263. 'exclude' => 0,
  264. ),
  265. 2 =>
  266. array (
  267. 'format' => 'image_plain',
  268. 'exclude' => 0,
  269. ),
  270. 3 =>
  271. array (
  272. 'format' => 'image_plain',
  273. 'exclude' => 0,
  274. ),
  275. 'cck_blocks' =>
  276. array (
  277. 'format' => 'image_plain',
  278. 'exclude' => 0,
  279. ),
  280. 'token' =>
  281. array (
  282. 'format' => 'image_plain',
  283. 'exclude' => 0,
  284. ),
  285. ),
  286. ),
  287. );
  288. $content['extra'] = array (
  289. 'title' => '-5',
  290. 'body_field' => '-4',
  291. 'revision_information' => '4',
  292. 'author' => '5',
  293. 'options' => '6',
  294. 'comment_settings' => '7',
  295. 'menu' => '1',
  296. 'taxonomy' => '0',
  297. 'book' => '3',
  298. 'path' => '8',
  299. 'itunes' => '2',
  300. 'og_nodeapi' => '-3',
  301. 'scheduler_settings' => '10',
  302. 'xmlsitemap' => '11',
  303. 'nodewords' => '9',
  304. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement