简体   繁体   English

Drupal内容类型和视图-公开CCK字段-编辑表单

[英]Drupal Content Type & Views - Expose CCK fields - Edit Form

How can I achieve the following: 如何实现以下目标:

I have created a content type called journal, containing: - Body - Imagefield 我创建了一个称为Journal的内容类型,其中包含:-正文-Imagefield

What I would like to create a view that exposes the NODE create form for the juornal Content Type. 我想创建一个视图,以公开juornal Content Type的NODE创建形式。 In such a way that I can embed a block into a page, so that it then exposes the Body field as an empty box & the imagefield as a button to ad images. 通过这种方式,我可以将一个块嵌入页面中,这样它就可以将“正文”字段显示为一个空框,并将“图像”字段显示为一个广告图像按钮。 To allow a user to then just type text into the box, add an image and then click save. 要允许用户然后仅在框中键入文本,添加图像,然后单击“保存”。

Similiar real life example - http://drupal.org/project/fbsmp The reason I dont ant to use this is because the node to be created will be part of a Organic Group and must be referenced to only that particular Organic GRoup, which can be dnoe with a simple node. Similiar现实生活中的例子- http://drupal.org/project/fbsmp我不蚂蚁用这个的原因是因为要创建的节点将是一个有机基团的一部分,必须被引用到只有特定的有机基团,其可以是具有简单节点的dnoe。

thanks Charles 谢谢查尔斯

Charles, 查尔斯

Is this what you're looking for? 这是您要找的东西吗?

http://drupal.org/project/formblock http://drupal.org/project/formblock

Erik 埃里克

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM