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.
i've been customizing the user profile pages by creating a user_profile.tpl.php and hooking to it from theme.php. i've used this section of the handbook for inspriation:
I am writing my own drupal module. I've made a custom form for my module. The form consists of:
1. User info (identical to the user info from the user module e.g. username, mail adres)
2. A bunch of extra stuff
Now i want to put the User info into the standard drupal table "users" so that i can take advantage of the built in drupal capabilities concerning users.
I am using gallery2 with drupal. I have some data that I need to pass from my g2 module to my drupal module. I tried using _SESSION to do that, but it doesn't seem to work. Specficially, I couldn't include bootstrap.inc in my g2 module because of path problems. I guess thats because bootstrap.inc and other inc assumes the current file locates in htdocs?
Anyway, whats the easiest way to pass data from a g2 module to a drupal module?
I just started recentrly with drupal and atm I'm (tring) to make some sort of enrollement module.
I've come to the point that i need forms but the thing is:
I can display my forms and all, but the layout isn't good.
What i want is