如题。。。
感觉添加内容的界面有点简陋
想自己写
不知道如何下手
别沉啊别沉啊别沉啊别沉啊
水滴石穿
你可以试试把下面代码加在:page--node--add--yourcontenttype.tpl.php。
module_load_include('inc', 'node', 'node.pages'); $form = node_add('your node type'); print drupal_render($form);
相关内容可以看看: Change aspect of node add form (not only via css)
这里参考的是:http://drupal.stackexchange.com/questions/30919/render-form-in-page-node-add-contenttype-tpl-php
Drupal China http://drupalchina.cn
print drupal_render($form);
</code>
别沉啊
别沉啊别沉啊别沉啊别沉啊
水滴石穿
page--node--add--yourcontenttype.tpl.php
你可以试试把下面代码加在:page--node--add--yourcontenttype.tpl.php。
相关内容可以看看: Change aspect of node add form (not only via css)
这里参考的是:http://drupal.stackexchange.com/questions/30919/render-form-in-page-node-add-contenttype-tpl-php
Drupal China http://drupalchina.cn
haha
print drupal_render($form);
print drupal_render($form);
</code>
水滴石穿