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.
I have made a custom module and I need to know which hook to use to modify the links that appear below nodes such as "read more" and "login or register to post comments" ?
I am puzzled: it seems like the attachment module was working fine with 4.6 a little over a week ago and now it can't upload files. (I've filed a support request but haven't heard anything back, so I'll see if someone in the forum area knows anything). The core upload module and the image module both upload fine, so Drupal seems to be handling uploads fine. However, with filemanager and the attachment.module I get the following message when I try to "Add" a file to Drupal:
It seems that the modules in general for this release have quite a few more bugs than I noticed in the past... Maybe something needs to be done about testing these modules ahead of the release in an organized fashion?
I'm working on a recipe module that is based on the existing recipe module. However, the fundamental table structure is significantly different.
What would be the most effective way of providing this conversion? I'm new to working with Drupal, and I'm a little suprised that "update.php" doesn't handle module updates too.
The conversions requires some logic from PHP, so it can't just be an SQL file for the user to run.
In my module I need to find the top level parent of a book page. That is, the parent of the parent of the parent (etc) with parent nid == 0. Right now I'm using the book_location() function, but I would be interested in seeing some SQL magic to do it one query.