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

User Registration - Add Fields

I have a site I'm working on that requires admin approval for all new users. Unfortunately just having the username and e-mail fields during registration are not enough. I also need to require the full (real) name.

The Real Name field I'd like to be inputed into the profile data.

Digging through the user.module, I was able to get the text box and everything for the Real Name, but after that I'm not sure what to do.

Any help/code examples would be much appreciated.

Thank You!

Module contribution

Hi,

I just developed a simple module and would like to contribute it to the Drupal community. I'm kinda new in this so could you give me some guides on how to upload my module?

I've just created a project but I get a "You are not authorized to access this page" after I submit it.

I never used CVS before and looked for some guidance in the documentation but haven't figured it out...

I really like Drupal and look forward to contribute more to this great project!

Thanks!

How to send HTML mail through Drupal

Hi all,
I would need to send HTML mail using Drupal.
Has anyone already faced this need ?? Can you help me with a working sample ?
thanks to all !
Matteo

Administration menu issue for gues who can create modules

1. It is hard enough to access deep menu items.

For example to access "administer->account->access rules->name rules" menu item i need to load 3 pages. This is a too slow. So i was integrated javascript menu into my drupal installation, so now i can access "name rules" in 1 click! It works fine and i'm happy.

But i do this in very bad way, i just hack "menu.inc" file becouse i have no idea how to make drupal modules. If any one who can easy create modules interested in this menu then tell me. I will send you all required files and my hacked menu.inc file. I think such module will usefull.



2. Why not to place "administer->content" and "create content" to some menu item?

I think:

content->create
       ->edit

more intuitive and comfortable than:

create content
administer->content

allowable fields & syntax in profile.module?

One of the ways to extend profile.module is adding to profile_fields with fields like the below:

"country" => array("textfield", t("Country"), "", 64, 64, t("Your country.")),

What are these arguments? A few minutes trial and error illustrates their use when the first arg is "textfield", but their uses are different with "textarea","checkbox", or "select". Has anyone written up a document on the allowable values?

Thanks in advance.

Linking Database Tables: What's best?

What is the best method of sharing data between multiple tables?

For example say I have a table called {page} with the following columns (id, name, description). And I have another table called {data} which contains a reference to {page}(id). If I were to create, update or delete a row within the {page}table what is the best method for dealing with the information stored in the table {data}?

Pages

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