attaching user name and email information when filling a form

I have inserted a form in a drupal page (for authenticated users only), I want to include the user name and email on this form, but automatically, whithout the user having to type it (consider that the user will be all ready registered when filling the form).

I think a way would be creating 2 hidden text fields, but wouldn't know what code to put in them

note: using drupal 6

thank

What hook to use to set Content-Type with drupal_set_header for every page?

I would like to be able to control the Content-Type HTTP header for normal Drupal pages, so that the module can choose whether the page is identified as type [text/html] (as Drupal does by default) or [application/xhtml+xml] (required for embedding XML such as SVG and MathML in the page).

There is a Drupal function called drupal_set_header which I can use to set the headers. However, I cannot work out which module hook I should use in order to set the Content-Type header before each page is loaded.

How to add a single CSS file to a page

I want to add a separate css file to my contact page ONLY. How can I go about doing this?

Access log settings only visible to authenticated users ?

The access log settings for showing the number of views of a page seems only to work / show for authenticated users. Can this be made public, global ? Or does it require a different module ?

Gert
GWCheck.com

Donate YouTube Clone For Religious World Peace Initiative

Hello-

I am tasked with building a website that will showcase more than 200 U.N. recognized religions as categories and 3000 subcategories. We have already collected 80,000 hours worth of MP3's of teachers from all religions.

We want to bring different religions together so that we can stimulate communication in a hope to create world peace. We wish to use this site as a way to build a social community around building schools, hospitals, etc. for the poor and war stricken.

Currently we need to allow similar features to that of Youtube but with an emphasis on AUDIO/MP3-
We would like to allow users to submit content and then in turn allow general users to comment, rate, and download original files.

It would be ideal if we could upload as MP3 and AVI and have it converted to SWF format.

If anyone has something like this pre-built I can modify it, add all the content, theme, etc.
I can even take a copy of your site (without your media) and dramatically change it. This would allow us to see a working version so it will not be so difficult to change the css/html/graphics and edit/change the categories.

We can work something out in terms of a payback over 12 months (from our donations) or we can give you a permanent link at the footer.

The current site is http://www.basic5.org/
We are using Joomla with serious trouble and time delays.

Thank you!!

Collecting user preferences to use in external application, best practice?

Hi all,

I need to develop a system that collects the preferences of users on various 'items' they select themselves.
The 'items' are created by the admin of the site and differ on various topics.
The collected data is made available to an external application which then processes it.
So Drupal is basically going to be a control panel for the users.

For example:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x