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..
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.
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.
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 :