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

Replace username with e-mail

Is there any way to replace username (login name) with email?
E-mail is unique too, this is the reason why I don't need the username...
I want only a profile field (full name), which is required and themed in as username.

Video Streaming

Hi All I need help regarding Video Streaming. I am using drupal 5. I am trying to create Thumbnails of a video .I have already Installed FFmpag but somewhere i am wrong so please tell me the right way to create thumbnail of a video .and what should be proper setting in video module ....

Thanx
Gaurav

How to generate a page with results after a form has been processed

Hello,

I wanted to know what is the best way of passing some data at the end of a form_submit () call.

I am using Drupal 5.1's form API. My goal is very simple: to make a form which do some computation and displays a page with the results.

form_submit() function finishes on a redirection and I do not know how to transmit my results.

I thought of two solutions:

Can you create a region from a module?

Hi, I'm creating a module that needs to add some HTML code to the head of pages and before the closing body, so far I've done it using drupal_set_html_head() and hook_footer() in my hook_menu().

I need to do it from my module because I don't want to require the site administrator to create a custom theme, even if it just needs a few lines of HTML in page.tpl.php.

I thought hook_init was supposed to be called for *every* page view, cached or not?

Is something broken? If I stick this in a module (any module which doesn't already have an _init function);

function modulename_init() {
global $user;
if (!$user->uid) watchdog('modulename', 'test of hook_init');
}

Now I would expect seeing as the docs on Drupal API say;

Only use this hook if your code must run even for cached page views.

Users can submit articles?

Is there a module where every registered user can add articles and when they submit it, there pending for administrator aproval? And also the option to choose the category to submit the article in? I've searched the modules database, but there is sooooo much. ;) Maybe someone could point me in the right direction

Pages

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