Just attempting to convert my module to 7.x and since I havnt figured out a way to programmatically add cck fields with hook_node_info, I thought I could go into admin/structure/types And add fields there, printing the field information, and then making the call to field create myself.
However, Im not seeing the node I specified in hook_node_info show up on this page. Maybe Im missing something on the changes, but I copied this code from http://drupal.org/node/224333 "Converting 6.x modules to 7.x"
function ssp_node_info() {
return array(
'single_slideshow' => array(
'name' => t('Single SlideShow'),
'base' => 'ssp',
'description' => t('Setup single slideshows for integration with SlideshowPro'),
)
);
}
Comments
Comment #1
mr.baileysThe above hook_node_info implementation looks correct to me, and it might have been an issue with an earlier unstable version of D7. Are you still having this issue with a recent version or can this issue be considered resolved?
Comment #2
kylebrowning commentedThis is resolved.
Comment #3
kylebrowning commented