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
5
votes
7 answers

How do I limit access to menu by role in Drupal?

I'm building a Drupal site, and have added two custom menus to give two different groups of management links (some people will see one menu or the other, some will see both, and anonymous/low-level users will see neither). The problem is, at the…
HorusKol
  • 8,375
  • 10
  • 51
  • 92
5
votes
5 answers

Techniques for building Drupal Modules Quickly?

I'm looking to see if anyone has any resources or tips for developing basic Drupal modules faster? Have you come up with anything to make your Module development faster? The Drupal module documentation is kinda hard to understand and pretty…
wajiw
  • 12,239
  • 17
  • 54
  • 73
5
votes
4 answers

how to display node hit in drupal?

i want to add page hit to nodes on my drupal site.how can i do that?
hd.
  • 17,596
  • 46
  • 115
  • 165
5
votes
4 answers

How to hide a field in a Drupal form

I have a specific content type in drupal6. I want to implement a hook, which hides the body field of that content type from the add form, but not from the edit form. How can I do that?
mimrock
  • 4,813
  • 8
  • 32
  • 35
5
votes
3 answers

drupal----confused by the argument $form_state

this is an example form the pro drupal book. function annotate_admin_settings() { $options = node_get_types('names'); $form['annotate_node_types'] = array( '#type' => 'checkboxes', '#title' => t('Users may annotate these…
runeveryday
  • 2,751
  • 4
  • 30
  • 44
5
votes
1 answer

Overriding Drupal javascript behaviors

I want to override a bit of core drupal behavior on the comment form. If you make a comment as an anonymous user, your name and mail are stored in a cookie, and then javascript fills out the appropriate fields in subsequent comment forms using this…
lazysoundsystem
  • 2,039
  • 23
  • 23
5
votes
2 answers

Block some Drupal URLs

Is there a module I can use to disable some Drupal system pages? For example, I'd like to disable node, taxonomy/term/*, filter/tips.
ya.teck
  • 2,060
  • 28
  • 34
5
votes
1 answer

Drupal: How to wrap inline images into additional markup

i need to wrap images into additional markup for further css styling. I would like to have something like that:

alt

. The images are added directly on the specific node using following…
gearsdigital
  • 13,915
  • 6
  • 44
  • 73
5
votes
7 answers

Drupal: "previous and next" links in each node?

I would like to add previous and next buttons to each node of my Drupal website. These links are supposed to point to the next node in the website content. How can I make it ? Thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
5
votes
1 answer

Node update: getting the old value

I'm updating a node with nodeapi update, but there's more that I need to do behind the scenes which requires me to know the old value of a field/ Is there a way I could get the old value of a field before it's overwritten.
Berming
  • 1,302
  • 4
  • 18
  • 34
5
votes
1 answer

Drupal 6: Adding sub menu items on a menu item?

I have a hook: function node_field_link_menu() { $items['order_food'] = array( 'title' => 'Products', 'page callback' => 'node_field_link_products_page', 'access callback' => TRUE, 'menu_name' => 'primary-links',…
rockstardev
  • 13,479
  • 39
  • 164
  • 296
5
votes
2 answers

Multiple Styles within one View in Drupal

I am creating a search functionality in Drupal by exposing filters within View. The problem is that I would like to add also a Google Map that display the location of nodes, apart from the search results (node title and some other fields). I can…
Vonder
  • 4,033
  • 15
  • 44
  • 61
5
votes
4 answers

Changing menu links, if user is authenticated or not

I need to change the menu links on my website (and leave the same items names) depending on the user is a guest, or authenticated user. What's the standard way to do it ? thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
5
votes
1 answer

Drupal Ubercart: multi-currency?

what's the safest way to integrate multi-currency support to Ubercart ? I found this module: http://drupal.org/project/multicurrency but it is still under development and it says it requires custom installation procedure to be installed. Is this the…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
5
votes
9 answers

Drupal: automatically add menu items when new nodes are added

can I automatically add a menu item when I add a node to the page in Drupal? In other words, can I associate a menu parent with a node content-type, and then automatically add the children if new nodes are added ? thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488