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
10
votes
6 answers

How do I remove HOME from breadcrumb

I am using Drupal 6.17 and want to get rid of "HOME" in the breadcrumb output... eg: $breadcrumb= PRODUCTS // SOFTWARE // FEATURES instead of HOME // PRODUCTS // SOFTWARE // FEATURES
canintex
  • 638
  • 1
  • 7
  • 21
10
votes
3 answers

How to split the code of a module into separated files

I am very curious to know how a Drupal module can be dis-integrated into multiple include files. A number of hook support to link include components, like hook_menu, hook_theme etc. Once I planned to simplify one of my complex module that have…
Shoaib Nawaz
  • 2,302
  • 4
  • 29
  • 38
10
votes
2 answers

How do I make a node link directly to its file contents in DRUPAL 6?

I have a menu item called "Products" which when clicked displays all nodes created by the "product" content type. Every "product" node has a file attachment field with a file attached. If I click on a "product" node, it takes me to the node as…
Granwille
  • 159
  • 1
  • 7
10
votes
3 answers

Drupal: Display success/error message

how can I show users success/error messages without creating a node for it? Thanks in advance!
n00b
  • 16,088
  • 21
  • 56
  • 72
10
votes
2 answers

Filter a Drupal view (displayed in a panel) by taxonomy term depending on domain

This is a Views 6.x-2.x problem: On a site with many different views (many of which are blocks included in Panels that pass arguments to blocks) I would like to filter views by a taxonomy term depending on the domain the site is visited through.…
yotka
  • 1,002
  • 2
  • 11
  • 19
10
votes
5 answers

How do I extend a contributed module in Drupal?

How can I extend an existing module without modifying it? Actually its a contributed module, so I don't want to hack it. But I want to alter and add certain features to it. I'm new to drupal and as I read tutorials about it, I keep hearing one thing…
apnerve
  • 4,740
  • 5
  • 29
  • 45
10
votes
6 answers

How can I theme the template for edit or add a node for a specific content type?

I want to theme the template for edit or add a node for a specific content type. For example, to theme all the content type forms I use the file page-node-{add|edit}.tpl.php (depending what I need to do add or edit). But I didn't found the template…
Leandro Ardissone
  • 3,009
  • 6
  • 32
  • 31
10
votes
5 answers

drupal > views > exposed filter > submit on change

I've got a view with a single exposed filter (a select). It's using ajax to re-populate when the user clicks "Apply". I'd like them not to have to click that and just re-populate when the select is changed. I'm assuming I'm going to need some JS…
sprugman
  • 19,351
  • 35
  • 110
  • 163
9
votes
1 answer

Does Drupal 7 have a better way of managing development changes than Drupal 6?

So one hassle of Drupal 6 is that it's tough to move changes from a development server to a test or staging server to a production server. Has this been made easier in Drupal 7? Is there some coding conventions module developers are suppose to…
Tobias
  • 4,397
  • 3
  • 26
  • 33
9
votes
4 answers

Drupal: how to access to Drupal's APIs with a standalone php script?

When I create a new script in a separate php file to run for Drupal, I need to add the following lines on top in order to access all Drupal APIs: require_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); Is this correct ?
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
9
votes
5 answers

Is there any way to get uid from user name in Drupal?

Is there any core function to get uid from username in Drupal? Or I should perform a db query? my field is a textfield with '#autocomplete_path' equal to 'user/autocomplete'
Nick.h
  • 4,035
  • 5
  • 21
  • 22
9
votes
3 answers

Drupal get module info?

Is there any function in Drupal like get_module_info('MODULE_NAME') or I should parse info file?
sultan
  • 5,978
  • 14
  • 59
  • 103
9
votes
3 answers

How to send e-mails from custom PHP code?

I need to send an e-mail from my custom php code using the Drupal service. In other words, I've noticed Drupal can easily send emails so I would like to know how can I use drupal libraries to send the emails, instead of using external libraries.
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
9
votes
3 answers

Fundamental understanding of how Views and Pathauto work together

I am having fundamental problems understanding when to use a pathauto rule, and when to use a views page path. I have several custom content types, and I am using blocks to display certain parts of nodes on certain paths. Then I use a views page to…
Dan Johnston
  • 131
  • 1
  • 4
9
votes
3 answers

How to get rid of Drupal CSS stylesheets?

I am trying to accomplish the following. I need to use Drupal 6 as a project requirement, but I want to use it with my own HTML and CSS stylesheets for each node/view/panel etc. The problem is, whatever the theme, I always found that Drupal applies…
Massimo Cafaro
  • 25,429
  • 15
  • 79
  • 93