Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
So, when is it a good idea NOT to create a new node type? I'm working on a small project again with drupal and I am starting to wonder why it's such a great idea to make everything a node, especially since the entries in the node table could possibly end up with empty values for both title and description.
I am just insatalled the banner module. I can add/edit the banners and is listed as well. Also view link is working fine. But it is not seeing in the front page. I had set the status as enabled. But the result is the same.
I am using hook_form_alter() to modify the form to create/edit/delete a form. I wish to modify the taxonomy select boxes that appear on this form in the "Categories" section. Specifically, I want to either hide 1 or more of the select boxes or add a link next to certain select boxes.
The trouble is that none of these taxonomy form elements appears in the $form variable that is passed to mymodule_form_alter().
How can I modify the taxonomy form elements in the node form?
Using Drupal 4.7b2, I used the node_example.module template as the base of my own module. When I upload this file to the ./modules directory, and navigate to admin/modules, once the page is done loading I see the code of my module in a run-on fashion at the top of the screen.
Is this a common problem? I couldn't find anything similar listed on the forums. Perhaps it was introduced with 4.7.