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

Member Distinctions

Is there anyway to make the user roles have a badge or different color or something that will let users know what they are? Like a Staff member may have a Red name or whatever. That way people know that that member is a staff.

Any help would be appreciated.

Custom Search Form and Results

I need to make a custom search for to search through cck content and then display the results. Will someone point me in the right direction?

Actions? Snippets?

How to disable multiple file uploads

I want to use Drupal's built-in upload module to allow for exactly one file attachment per node for certain node types. Since I could not find a setting to achieve this, so I tried to use hook_form_alter, which did not work. I guess the problem is that the upload form fields themselves are added via hook_form_alter.

Does anyone know a way to disable multiple file uploads without touching the upload module itself?
Any help is greatly appreciated. TIA

dynamic form with form api

Hello all

I'd like to ask if there is a way to modify dynamically the options of a select form item according to the selection made on another select form item. These options are retrieved from a table in the database.
I am not familiar to jquery (less to ajax), could anyone suggest me an idea for this ?

Thanks

Combine SMTP and Mimemail modules?

I'm using SimpleNews and have an idea for a potential project, but don't know the best way of carrying it out. I'm using SimpleNews, which requires the Mimemail module to send html emails. But I'd also like to use the SMTP mail module.
From what I can see, these two modules currently don't work together because they both override the drupal_mail() function and the smtp_library variable.
I'd like to make it so that you have the option to:

form_altering the user/edit page?

I'm working on a new site and am currently working on making changes to all of the user related pages.

I'm running profile module in addition to the standard user module. I have two areas set up in the profile module 'location' and 'personal information'.

What I'd like to do is eliminate the multiple tabs that are on the user edit page and use form_alter to put it all into one form. The problem I'm having is figuring out how to get the information from each of these and put them into one form.

Pages

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