Questions tagged [drupal-6]

Drupal 6 is the Drupal version released on February 13, 2008. Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/.

Drupal 6 is the Drupal version released on February 13, 2008.
It will be officially supported until Drupal 8 has reached its first official release. After that bugs and security issues will no be longer be fixed for Drupal 6.

See for more information about Drupal.

Requirements

  • Web server: Apache, Nginx, or Microsoft IIS
  • Database server: MySQL 4.1 or higher, PostgreSQL 7.1
  • PHP: PHP 4.4.0 or higher (5.3 recommended)

Related tags:

Resources

3646 questions
1
vote
6 answers

Most efficient way to have a 50 state drop down box in Drupal Forms

I know that one way is to have a table in database with all the states and then you would read it in your form. Is there any easier way in your opinion guys ? I feel bad asking for something like this since it is so elementary however I would…
user363036
  • 319
  • 1
  • 2
  • 7
1
vote
1 answer

How does one control select lists using form API?

I know this is somewhat of a newb question but I am running into a deadline and 3 days of Drupal experience will just not cut it... $form['gender'] = array('#type' => 'select', '#title' => t('Gender: *'), '#options' => array(t('Male'), t('Female')),…
user363036
  • 319
  • 1
  • 2
  • 7
1
vote
4 answers

How can one display local time and date to my drupal website visitors depending upon their geographic location?

I need to display the FIFA world Cup 2010 schedule on my Drupal website. But what I want is that each visitor should be able to see the time for the upcoming matching as per his/her own geographic location . How can this be done ?Any suggestions…
Sbhambry
  • 494
  • 2
  • 8
  • 20
1
vote
1 answer

menu item in drupal

I am working in drupal 6 And I want that in particaular menu it show only 3 item whenever new item is added earliest must be disable.And it show only latest 3 item like in news only it show only latest news and last one is removed.note: It does not…
ankit
  • 11
  • 1
1
vote
2 answers

Drupal Studs help me with my form_alter hook ( I am almost there)

So I think I am almost there conceptually but need some missing pointers. Objective is to add a few more fields to the normal user registration form, style it a little, then submit it with storing the extra fields in a table. This is what I have so…
user363036
  • 319
  • 1
  • 2
  • 7
1
vote
3 answers

How to use hook alter form in module to register a user and also save some data in another table?

have a general idea on how to use hook alter to modify the feel of the registration form . However the challenge I have is to not only have the user register, but to save some extra data into another table and then redirect user to a new page. How…
user363036
  • 319
  • 1
  • 2
  • 7
1
vote
1 answer

Drupal: png is not allowed extension (but it is!)

I'm running Drupal on IIS server 6. I'm having an interesting error to upload images into my node. I get "png" is not a known file. See image: http://dl.dropbox.com/u/72686/pngError.png But I've added png (default settings) to the allow image files…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
1
vote
3 answers

How to manually register a user in Drupal 6.x?

The website has a normal registration form which allows users to register and the likes. I have created a new custom form in which I am capturing the username/password etc. How do I manually register the user in Drupal system? Thank You
user363036
  • 319
  • 1
  • 2
  • 7
1
vote
2 answers

Drupal 6 - I am using drupal_execute to insert a CCK node into my site. Everything is working except taxonomy

$form_state['values']['field_prx_mp3_labels'][0][value] = $mp3_labels; $form_state['values']['taxonomy'][0][value] = array('tags'=>array('1'=>'Music')); $errs = drupal_execute('prx_content_node_form', $form_state, (object) $nodeTmp); …
rdurbin
  • 11
  • 2
1
vote
0 answers

Google Analytics and Drupal's base site

I have one Drupal 6 install running several sites or themes. For example: www.example.com/site1 www.example.com/site2 www.example.com/site3 There was not a site at www.example.com except for a landing page acting as a place…
1
vote
1 answer

How to make link to comment form drupal?

I need to make custom link to a comment form in drupal like so: Reply How to get node NID?
1
vote
3 answers

Drupal, Lightbox2, callback function?

is there any callback function for lightbox2 in Drupal ? I need to trigger some functions when the lightbox content is ready thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
1
vote
3 answers

How can I handle parameterized queries in Drupal?

We have a client who is currently using Lotus Notes/Domino as their content management system and web server. For many reasons, we are recommending they sunset their Notes/Domino implementation and transition onto a more modern platform--such as…
Anthony Gatlin
  • 4,407
  • 5
  • 37
  • 53
1
vote
1 answer

How do I set up filters in a Drupal view that apply across two different content types?

I have two different content types being loaded into a view. News, and reviews. Each of the content types has a drop-down box to select what category they fall into. ie. a review could be for a dvd, music, etc. and news could be music, cinema,…
David Meister
  • 3,941
  • 1
  • 26
  • 27
1
vote
1 answer

Building a service for a Drupal site to duplicate a node to another Drupal site in a multi-site setup

I'm trying to set up one of my Drupal sites to push a node to another Drupal site in a multi-site configuration. It looks like I need to do this with services somehow, but I can't find any tutorials out there and I need at least to be pointed in the…
EricP
  • 1,459
  • 6
  • 33
  • 55