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.
When we started testing Drupal, we noticed that the PM module did not list all of the names to which PMs had recently been sent by a user--sometimes as many as HALF of the recipients would not be listed.
Here's the present code:
$result = db_query("
SELECT DISTINCT(name) AS name
FROM {personalmsg} p, {users} u
WHERE p.author = u.uid
AND recipient = '%d'
AND p.timestamp > (UNIX_TIMESTAMP(NOW()) - (3600 * 24 * 30))
ORDER BY name", $user->uid);
Let's say you'd like to set your node edit window so that users can browse the tree of all Drupal pages and automatically insert an inline link within the text. This would work as the current inline [inline:url] module, but would be far more user friendly (GUIsh)
I keep getting errors when trying to upload an updated module to the CONTRIBUTIONS folder in the CVS Respositories.
I have been using TortoiseCVS which has been working very well....up to now. I tried comitting the updated module to my sandbox folder..but was unable to upload it to the correct /contributions/ folder.
(I was trying to upload an updated version of the FRONT_PAGE.MODULE that works with the new forms api and Drupal CVS)
Has anyone here tried the ecommerce package? I'm trying to install it on 4.6.3 but anytime I drop the folder in to the modules folder, the modules menu item ceases to work.
I am in the progress of writing my own type of nodes, so i checked out the node_example.module from the API.
Even though it is very well documented, i can't seem to get it working.
I uploaded the whole file to my /modules directory, inserted the database table and activated the module in administer > modules.