开发者

Use node as field in drupal 7

开发者 https://www.devze.com 2023-04-11 05:41 出处:网络
Is it possible in drupal 7 to use a content type as field in another content type? For example, I want the user to type some structure information like Address Content Type in Customer Content Type:

Is it possible in drupal 7 to use a content type as field in another content type?

For example, I want the user to type some structure information like Address Content Type in Customer Content Type:

Name: [    ]
Email [ 开发者_开发问答   ]
Address 1: Street[    ], City:[    ], Country [    ]
Address 2: Street[    ], City:[    ], Country [    ]
Address 3: Street[    ], City:[    ], Country [    ]

is it possible to create the Address Content Type and use it as a field in Customer Content Type?

Please advice. Abbas


Check out the References module

Edit:

If you want to create everything in one go, then look into using the Field Group module which will allow you to group certain fields together.

Note that this will NOT create Addresses as a content type but rather as fields within the Customer content type.

I don't know of any module that currently exists which will automatically create content types in the way that you've specified.

0

精彩评论

暂无评论...
验证码 换一张
取 消