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'm building new modules.. in this modules i'm requesting to other drupal site using xmHttRequest, but i want return from the other drupal site only body content of the especific node.
Dear All,
Please give me your wish list for ecommerce. Next week I'll be at the drupal conference. I'll try to talk to developers after enhancing the module, to include automatic debiting for paid memberships and to manage more than one role. see node 47263. I've spent a lot of time trying to get paypal subscription to work. see node 44295 but I just installed ecommerce yesterday.
I am planning to extend a module to include aditional functionalities. I am pondering between inserting this new functionality either in a extra php file which the module includes, or to add new hooks to the module that then calls the implementing module.
I am aware the second option seems the most desirable, but how much overhead does the hook system adds, if the hook is made in a place where multiple call to it can be made per page request (up to 20 requests)?
Could someone give me an advice on the best approach?
I'm creating a module that needs to know the uid of a new user to update a db table. I've tried placing my SQL call in the 'validate' and 'insert' sections of hook_user, but neither work: in validate I get a uid of 0, in insert I don't get a uid at all.
Any help on this? The life-cycle documentation for many of the hooks with operation arguments is pretty poorly documented. I'm not even sure that $user or $edit is valid in a hook_user 'insert'.