This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Send Email Function

I'd like to modify a module to send e-mail. Is there an e-mail function on Drupal core I could either a) use b) copy and modify?

e.g.: send_email($recipient, $sender, $title, $body)

Thanks for any recommendations.

What am I doing wrong in my usage of hook_insert?

I am working on a module that would allow nodes to be set as unpublished based on a user entered value.

For example the user is setting a duration of 10. I need to get the current time, add ten (from the user), then save into my db into pm_field_item_close_date 9which I already have within my node_item table. I am trying to do this when the user creates the node so I thought I should use the hook_insert.

Here is my function:

Please help.

Hi,

I want to be able to enter a list of items and have users give the items monetary values. I want each item to display the average of these given values. Each user should only be able to assign one value to each item.

Is there a module that will allow me to do this?

Thanks,
Brian
ebayfirefly@comcast.net

drupal_execute and files

How would one go about using drupal_execute to submit a node that needs an uploaded file? I've got the following statement:

groups

Dear All,

I am relatively new to Drupal so please bear with me.

I am trying to use organic groups to develop a site which has the following functionality:

- Administrator sets up Groups and sets up and assigns users to these groups
- Users then can login. They are redirected to their appropriate group homepage as set up in the admin. From here, they can then post to their group only and read what other members of the group have to say and comment on them

Show image in a contemplate module

Hy to all

I've created a template node with CCK.So to make it seem litte more fine i've decidet to modify it with contemplate module.
Now the question is, this:

When i add a field with contemplate it use always the print $varailbe so i'm not able to show images in my content becouse instead of the image i'have the value of the variable (like file path file name etc etc)
How can i solve this?????????

Thanks to all

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions