drupal-5

Drupal 5: CCK fields in custom content type

孤人 提交于 2019-12-23 20:18:58
问题 I have module that implements custom content type via NodeAPI hooks ( hook_insert , hook_update etc). I want to add CCK field to this content type and populate it via hook_nodeapi calls like create or update (to show content nodes in Views). Problem is, I cannot access CCK fields for this content type. Sure, it's enabled on "Manage Fields" page, but when I load any node of this type with Devel module, I cannot see field attribute ( field_flag ) in node object. I can see it under "Dev Render"

Drupal $tabs not including edit / revisions / workflow

人走茶凉 提交于 2019-12-10 00:19:46
问题 I inherited a Drupal5 site and have been tasked with making some changes, but I'm unable to figure out where to start looking. On many pages there is a menu available to administrators that allows you do do certain actions: Overview Specialists Resources and Tools In the Field News Events Courses Multimedia Edit Track Workflow Settings However, on some sections, there are different options: Preview Layout Settings Layout settings Advanced Context Content Export I need to add (Edit, Track,

Drupal $tabs not including edit / revisions / workflow

天大地大妈咪最大 提交于 2019-12-04 18:18:05
I inherited a Drupal5 site and have been tasked with making some changes, but I'm unable to figure out where to start looking. On many pages there is a menu available to administrators that allows you do do certain actions: Overview Specialists Resources and Tools In the Field News Events Courses Multimedia Edit Track Workflow Settings However, on some sections, there are different options: Preview Layout Settings Layout settings Advanced Context Content Export I need to add (Edit, Track, Workflow, Settings) to the second menu, but I'm not sure how to do that. I see in page.tpl.php there is