Download & Extend

Omitting the body field doesn't work

Project:BitTorrent
Version:5.x-2.0-beta3
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

I'm using CCK for the Body / Description and I really don't need the standard body field. Editing the content type you can see:

To omit the body field for this content type, remove any text and leave this field blank.

But even then you get a text field for the body with no title when creating/editing torrents. Any ideas anyone?

Comments

#1

It could be a way the content type is setup,

<?php
/**
  * Implementation of hook_node_info().
  */
function bt_torrent_node_info() {
  return array(
   
'torrent' => array(
     
'name' => t('Torrent'),
     
'module' => 'bt_torrent',
     
'description' => t('Upload and share your favorite torrents'),
     
'has_title' => TRUE,
     
'title_label' => t('Torrent Name'),
     
'has_body' => TRUE,
     
'body_label' => t('Torrent Description'),
     
'min_word_count' => 1,
     
'locked' => TRUE
   
)
  );
}
?>

Maybe there is something in there that needs to be changed...

#2

Status:active» closed (won't fix)

5.x version is longer not supported.