开发者

Break up taxonomy on node form

开发者 https://www.devze.com 2023-01-05 11:13 出处:网络
I want to theme a node form for a blog. I\'ve got two vocab开发者_开发知识库ularies for the blog type, one with categories and one with tags. I\'d like to display the category choices in one place and

I want to theme a node form for a blog. I've got two vocab开发者_开发知识库ularies for the blog type, one with categories and one with tags. I'd like to display the category choices in one place and the tags input in another place. Is it possible to break up the taxonomy field like that? I've tried with <?php print drupal_render($form['taxonomy'][11]); ?> but I get nothing. The IDs of the two vocabularies are 10 and 11.


This will probably get you where you need to be http://api.drupal.org/api/function/taxonomy_node_get_terms/6

0

精彩评论

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

关注公众号