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

adding file attachment to drupal core's Contact form?

Hi all...
Is it possible to add an attachment field to drupal's core contact form?

I really liked that I let the users choose from a dropdown list the category that they want to mail about, and this sends a mail to a specific recipient for that category.

Is there a hack for it? some php code I can add?
I search around for it, but found only the Webform & Mailattach modules, which don't let me choose different recipients..

Thanks for any help!
-itai-

Change storylink in url

//New to Drupal (about 2 weeks)

I'm putting a site up that has the storylink (with voting) on it. I'd like to rename the link that look like this:

http://example.com/?q=node/add/storylink
and
http://example.com/storylink/top/week

to read something like this:

views and pathauto?

Hi,

I tried to make a new view for page with a path generated by pathauto. So there is a Url alias named "travelblog". I make a new view and enter under URL "travelblog", but the view isn`t displayed, also when I enter "node/1" under Url.

The page is a container vor taxonomy terms. It also don`t works for the terms like.

I want to assigne the new view for all taxonomy terms from this container.

Thanks for your answer

Philipp

Mapping UIDs to usernames

Hi all,

I have some data that has been input into a table by various users, I'd like to take the UIDs from the table and map them to usernames.

I tried using $user->uid but that's silly because that gives me the current logged on users uid (usually mine).

I could I suppose, have the $user->username input along with the inserted data, but I thought it more elegant to grab the username from the main system rather than duplicate data in this way.

Looking forward to any responses.

Cheers,
--

ChrisP

How to Switch Pics?

How to switch pics in page? I have upload all pics to server but cant switch it on page.

$form_values does not return anything when form type is file

Hello everybody,

I have been trying to retrieve $form_values when submit function is called for a form when #type => 'file'. But form.inc does some convoluted and confusing transformation of $form_values when form type is 'file'.
form.inc line 660 :

Pages

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