Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Im a Drupal newbie and just starting to try out a little module development.
I want to make a module which needs to add some extra user information about each user when they sign up.
I see there is a hook_user_insert(&$edit, $account, $category) which gets called when a user is registered, but Im not sure how to get my own fields into the '$edit'-parameter.
Can I add custom fields to the default signup-form or do I have to create my own signup-form? And how would I add custom fields or create my own signup-form?
Xavark is a solution to enable extraction and publication of Content Management System or bespoke data source information to mobile devices.
Features:
+Works with popular open source Content Management Systems like Drupal® and Joomla®.
+Mobile application available for Android and iOS (iPhone®/iPad®) platforms.
+Enabling you to reach out to a wider customer base by extending your product visibility on widely used mobile/tablet platforms.
While going through the video tutorial for configuring OG, I came up with an unexpected issue. When I went to "add content" I found that the option for "articles" wasn't listed. I've tried to look for info regarding this issue, but have yet not been successful. Can anyone please tell me if there's an option I need to enable that I've somehow missed?! I just cannot see what I have, or have not, done!
I have a little question with no answer, yet.
Although I looked for in this forum I don't find how to resolved that.
Actually, I have a form called by a hook_menu (inscription/%/pre-inscription) which callback a form defined in my inscription module.
In this module there is a block, built (info et view), which is used for display some values from $form_state.
In fact, my form is composed of several steps, and I want to display to the user his informations from last step.