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

3665 questions
13
votes
6 answers

Drupal return number of results in a View

I have a view in Drupal that filters my content. It brings back 7 rows. All I want to return is the number or results returned(7). Is this possible? I tried using the View result counter but it returns a number for each results 1 2 3 4 5 6 7 I just…
Linda
  • 2,107
  • 5
  • 29
  • 40
13
votes
3 answers

Drupal Views: Display recent nodes created by user on profile page

I'm wondering how I can display the recently created nodes by a user on their profile page. I've created a new page for a user at /user/%user and I want to be able to display the latest nodes created by that user.
Conor Mongey
  • 765
  • 1
  • 5
  • 14
13
votes
2 answers

Drupal form validation not working for me

I am trying to modify some Drupal 6 form code and incorporate some native form validation. Code looks like this, but validation does not work. I never even get into function thisFormName_form_validate. Any Drupalians have some good ideas?…
harry_T
  • 285
  • 2
  • 3
  • 11
13
votes
5 answers

Drupal: Create a custom page

I am working on developing a drupal site right now. I have created a custom homepage and it works fine with a module called (front page). However, I need to create a custom page for an internal page. Meaning, I need to have a different design than…
user220755
  • 3,968
  • 14
  • 47
  • 65
13
votes
6 answers

Removing [nid:n] in nodereference autocomplete

Using the autocomplete field for a cck nodereference always displays the node id as a cryptic bracketed extension: Page Title [nid:23] I understand that this ensures that selections are unique in case nodes have the same title, but obviously this…
ack
  • 12,201
  • 19
  • 48
  • 69
12
votes
9 answers

Debugging Drupal's White Screen of Death?

I have a Drupal installation that previously worked perfectly on my localhost. However, now, after a formatted my computer, it just shows a blank screen (completely white). So my question is, how can I see where things are going wrong, if I can't…
coderama
  • 14,202
  • 38
  • 149
  • 282
11
votes
6 answers

How to conditionally hide a field in a drupal view?

I have two fields that I want to render but I only want the second one to display when the first one is empty. Short of overriding the field in a template file, can I do this using functionality in the built in views functionality?
Allain Lalonde
  • 85,857
  • 67
  • 175
  • 234
11
votes
5 answers

How to create a custom filter for the Drupal View's Module?

I have the Profile, CCK, and Views2 modules installed on a Drupal 6 site. I added a string field to the user profile. I can filter easily on preset values, thru the Views GUI builder, really nicely. However, I'd like the filter criteria to be…
user6824
  • 151
  • 1
  • 2
  • 7
11
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.…
yan
  • 902
  • 2
  • 10
  • 19
11
votes
4 answers

Drupal - use l or url function for mailto links

Does anyone know how to use the l() or url() function to create mailto links? I am running drupal 6.
Brian G
  • 49,145
  • 57
  • 120
  • 139
11
votes
8 answers

How to solve the use of deprecated function ereg() of PHP 5.3.0 in Drupal 6.13

Anyone knows how to solve the error below? Deprecated: Function ereg() is deprecated in C:\wamp\www\includes\file.inc on line 895 It is happening after installing Drupal 6.13 on wamp server 2.0i with PHP 5.3.0
João Guilherme
  • 1,382
  • 1
  • 15
  • 26
10
votes
4 answers

Calling Drupal functions in external PHP file

How can I call a Drupal function or get the global variable in a PHP file which is located under the drupal installation folder. I doing it for the first time. Are there any files I need to include in my code in order to access the Drupal function…
Dijo David
  • 5,785
  • 11
  • 32
  • 45
10
votes
4 answers

FBConnect: Why is it showing on some pages and not others?

In the top right hand corner, it shows on this page: http://www.thegreekmerchant.com/product/fokofpolisiekar/band-logo But not on this one http://www.thegreekmerchant.com/ Any idea why? I'm using Drupal 6 with the FBConnect module.
coderama
  • 14,202
  • 38
  • 149
  • 282
10
votes
3 answers

Maximum function nesting level reached error in Drupal

I am working with Civicrm with Drupal. I created one custom import section. Whenever I submit mapped form it shows this kind of an error: Fatal error: Maximum function nesting level of '100' reached, aborting! in …
DEVOPS
  • 16,170
  • 29
  • 91
  • 115
10
votes
6 answers

How to disable secure pages on a local server?

I've just moved a Drupal to my localserver and I forgot to disable Secure Pages. Now I cannot access admin pages, because the site switches to HTTPS. How can I disable it?
aneuryzm
  • 55,858
  • 96
  • 259
  • 471