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

Is Drupal 7 slower than Drupal 6?

One of the problems with Drupal in general is that it is slow. We run Pressflow 6 in a high traffic production environment and it consumes a lot of resources for a site of its size. Much has been made of whether Drupal 7 is slower than Drupal…
cjm2671
  • 18,348
  • 31
  • 102
  • 161
6
votes
3 answers

PHP deprecated warnings on Drupal pages despite turning them off in php.ini

I have PHP deprecated errors flooding log files and Drupal status pages like this: : Function ereg() is deprecated in mysite/includes/file.inc on line 893. I should be able to turn off E_DEPRECATED errors in my php.ini, but it is having no effect…
iftheshoefritz
  • 5,829
  • 2
  • 34
  • 41
6
votes
5 answers

How can I add a summary row to a Drupal View?

I've built a view (Drupal 6.x, Views 2.x). I'd like to be able to add a summary row at the end of this view — total up several columns and include the totals in the summary row. How can I do this? Is there some Views data-altering hook I can…
smokris
  • 11,740
  • 2
  • 39
  • 59
6
votes
5 answers

What is the correct way to obtain the Drupal installed document root?

Inside of a Drupal module I need to obtain the base path where the Drupal site is installed. For example, if the drupal site is installed at: www.example.com/mysite/ then I want to get '/var/www/myseite' If it is installed in: www.example.com/ then…
Justin
  • 2,914
  • 5
  • 41
  • 66
6
votes
6 answers

How do I decide between theme('node', $node) and drupal_render($node->content) for programmatic $node output

Given a $node, I'm trying to decide between the following two ways of outputting that $node. either $output = theme('node', $node); or node_build_content($node); $output = drupal_render($node->content); They both seem to give similar results, but…
dkinzer
  • 32,179
  • 12
  • 66
  • 85
6
votes
1 answer

How do I get a user's profile path in Drupal?

How do I get a user's profile path in Drupal based on the author of the current node? theme('username', $node), '!date' => format_date($node->created,'custom','m.d.y'))); ?> The…
Matt Ryan
  • 1,717
  • 2
  • 20
  • 30
6
votes
2 answers

Drupal hook fired after node created

When I create a node I want it to programmatically create some nodes that reference the node just created. I though I would just need to change form_alter submit function for my form to call a custom function to create the nodes. Examining the…
Linda
  • 2,227
  • 5
  • 30
  • 40
6
votes
2 answers

How to use multiple filters to widen the search in Apachesolr queries

Making a search with Apachesolr, i want to add a couple of filters in hook_apachesolr_prepare_query(&$query). This works fine, except I want the filters to widen the search ('OR'), rather than narrow it ('AND'). For example, if I have 4 nodes of…
lazysoundsystem
  • 2,039
  • 23
  • 23
6
votes
5 answers

Editable timetable using Drupal

I'd like to manage a timetable using Drupal 6, there are several pieces of equipment on which an administrator distributes people who get to use the equipment. Essentially I want a table of equipment versus day of the week. The plan shows the…
Mad Scientist
  • 18,090
  • 12
  • 83
  • 109
6
votes
3 answers

adding a node to a nodeQueue on creation

How can I automatically add a node to a specific nodeQueue when this is created (I'm using nodeQueue module: http://drupal.org/project/nodequeue). The reason is that I want an sortable (by dragging the nodes) list of the nodes and I want them to be…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
6
votes
2 answers

how to make content's title unique

I am new to drupal and i want my content title unique so is there any module available for it or if i can implement autocomplete to view my past title name. please give answer in detail Thanks in advance :)
Jayjitraj
  • 236
  • 2
  • 12
6
votes
5 answers

How to override form just on one page?

OK so this is my hook form alter function.It is causing all the registration forms on site to be over written which I do not want as I just want it on this page. function special_registration_form_alter(&$form, $form_state, $form_id) { if…
user363036
  • 319
  • 1
  • 2
  • 7
6
votes
2 answers

drupal: so many js and css files?

I've realized I'm loading a lot of resources (24 css and 17 js files) using Drupal. I've several modules installed and they all come with a css and js file. For my website I'm only using 1 additional js plugin (all the other 16 come with Drupal…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
6
votes
2 answers

How do I execute an action in drupal after each time a node is saved?

I'm developing an Action in Drupal which is supposed to activate after saving a node, exporting content to XML (which includes data from the node that was just saved), using the "Trigger: After saving an updated post" trigger. Unfortunately this…
ford
  • 1,839
  • 3
  • 20
  • 38
6
votes
2 answers

Display different content for anonymous and logged in users

What I need to accomplish is this: If an anonymous user visits the site, show regular site content. If a user logs in to the site, then user-related content appears in place of the regular content. I would like to accomplish this using the Views…
Jukebox
  • 1,603
  • 1
  • 16
  • 27