CCK field display settings?

DamienMcKenna - March 16, 2009 - 02:52
Project:Install Profile API
Version:6.x-2.0
Component:CRUD functions and includes
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is there any easy way to assign display settings to each field if I'm manually adding them using content.inc instead of content_copy.inc?

#1

James Andres - June 1, 2009 - 21:43
Status:active» needs review

I'm not very familiar with exporting display settings in CCK. Perhaps this is an issue with the content_copy module?

content_copy.inc is basically just a pass through to the content_copy module.

#2

DamienMcKenna - June 2, 2009 - 12:44

To answer my own question, an array named 'display' needs to be passed in as part of the properties array which lists the usual display settings.

#3

DamienMcKenna - June 2, 2009 - 12:45
Status:needs review» closed

#4

drawk - September 19, 2009 - 17:21

For anyone else having trouble with this, I actually found that the properties array key needed to be called 'display_settings' and not 'display'

 
 

Drupal is a registered trademark of Dries Buytaert.