Drupal: Custom node edit menu callback, image upload widget disappears when change file


I had an issue with a custom node edit menu callback, that when the remove button is clicked to replace the current uploaded image, the whole widget disappears. I already loaded node.pages.inc file as follows: module_load_include('inc', 'node', 'node.pages'); BUT, apparently you should add these line to the menu item array: 'file path' => drupal_get_path('module', 'node'), 'file' => 'node.pages.inc', … Continue reading Drupal: Custom node edit menu callback, image upload widget disappears when change file

Drupal7 Views3: Empty “Row style output” templates


I had an issue when I was trying to create a new display and tried to theme it, I found the "Row style output" template suggestions like the following and with no template content:   Row style output: .tpl.php, --display.tpl.php, --type.tpl.php, ...   After some investigation, I found that the reason that caused this that my … Continue reading Drupal7 Views3: Empty “Row style output” templates