This tag is for questions regarding Drupal 6 specifically. Version tags should be used only when strictly necessary, for questions that apply to Drupal 6 only, and not to merely say "I am using Drupal 6 in my site."

learn more… | top users | synonyms (1)

2
votes
1answer
44 views

Is it a way to get know if more than one user edit the same node?

I'm looking for the way to inform site editors if the other editor is trying to edit the same node. In other words I need functionality that is similar to the Checkout module. But it is no longer ...
0
votes
0answers
21 views

How programmatically change current display in views 3

Hi I have views with 5 displays page_1, page_2, block_1, block_2 and block_3. When I change programmatically current display i.e. to block_3 views return only string "Array". Here is my code: ...
0
votes
2answers
36 views

Does Drupal override php setting by it self by .htaccess?

When I migrate or restore a Drupal 6 site Always php version I have set in the account page of the shared hosting service has been automatically changed. For example, though I have set php 5.3 for ...
0
votes
0answers
10 views

How to get module AutoMenu working

I try to use the module automenu 6.x-2.x-dev in drupal 6.30. I have installed the module in /sites/all/modules and then activated the module. Further I added some content (story,page) leave the menu ...
0
votes
0answers
16 views

Why is a particular module ignoring its permissions? [closed]

Maybe this question is too broad, but perhaps setting the title to the name of the specific module in question makes it too narrow. I'm having issues with the core search module in Drupal 6 (v 6.19). ...
3
votes
1answer
23 views

How to override jquery update preprocess page

The objective is to exclude certain javascript files from some sections of the website. I exclude javascript and css files in this way in the template.php file of the theme: function ...
0
votes
1answer
46 views

Can MySQL 5.6 be used with Drupal 6 and php 5.2.17

A server admin is looking to update the production mysql from the latest version 5.0 to latest 5.6. We are running a Drupal/Pressflow 6.22 and php 5.2.17. I believe this is going to bring on the ...
1
vote
1answer
16 views

Create Ubercart Product Node - how do I set product image?

When creating a product node for Ubercart, how do I set the product image? In the code below you see the creation of a Ubercart product node: $node = new stdClass(); $node->name = "Title"; ...
0
votes
0answers
24 views

How to add new blocks when “The block X was assigned to the invalid region Y and has been disabled”

I have inherited a site (in Drupal 6) and the original developers are completely out of the picture. I need to add a block but it looks like they've customized things and blocks are being rendered in ...
0
votes
2answers
32 views

Is it possible to run a module written for drupal 7 in drupal 6?

In another question I was searching for a module that provides a simple shopping cart and checkout process (Is there a simple shopping cart and checkout process module?). I have found this simple ...
0
votes
0answers
14 views

Is there a simple shopping cart and checkout process module?

Is there a module for Drupal 6.x which provides a simple shopping cart with a simple checkout process? After writing my own module where customers can configure their product the next step is passing ...
0
votes
0answers
11 views

Add shipment charges in Ubercart

I have installed Ubercart on my drupal 6 site. I want to modify my shipment charges on the basis of an individual product. For example, if there is a product "1 gallon bottel" then in shipment ...
1
vote
1answer
34 views

Why do site visitors end up with two sessions after logging in?

I have an up and running Drupal 6.30 (latest) site, but some users are having problems logging in. This is due to the user having two rows in the sessions table, one for uid 0 and one for their uid ...
0
votes
1answer
25 views

Weird Sidebar Formatting in module [closed]

I'm having problems with the sidebar on a custom module page. For some reason all the li's are hidden(?) so they're not getting the correct styling. The module itself (co-worker coded) is a form. I ...
0
votes
0answers
36 views

Fatal Error: Call to undefined function drupal_mail() [duplicate]

Very new to drupal, I am playing around with the mail function to test how I can send mails using drupals API. I used this tutorial from treversimonton.com. Whenever I try to call the PHPScript ...
0
votes
1answer
30 views

Why page call back is not needed in Ajax jQuery Drupal 6?

function example_menu() { $items['example-menu'] = array( 'page callback' => 'get-result', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, ...
1
vote
1answer
24 views

Find out module versions through database dump

I've got a dump from my Drupal database that I've created with Backup and Migrate. I want to find out which versions of the modules ctools and Panels have been in use. Where do I have to look? What ...
0
votes
0answers
27 views

Clear caches, manually

I have a problem. A friend php-commented the login form (the actual form node's content or whatever it is, at user/login) and cannot login. Then he cleared the cache to refresh the content. He did it ...
0
votes
1answer
17 views

Error 'Cannot redeclare ctools_menu_add_tab()' after migrating website

After our hosting provider has migrated our website to a new server this fatal error occurs when accessing the site: Fatal error: Cannot redeclare ctools_menu_add_tab() (previously declared in ...
0
votes
0answers
8 views

Admin Menu links disappeared, showing only Home and Create Content

And there's only one user uid:1 admin. I flushed caches.
-1
votes
2answers
36 views

How could I make a lighter weight custom module to reproduce the end user experience of Hierarchical select?

I've built a site using Drupal 6 that has a vocabulary of cars that I need to use to filter some car parts. It is 7 level vocabulary and will clearly have a hell of a lot of terms by the time all the ...
0
votes
2answers
21 views

how to re-enable content notifications

I turned off content notifications for all users for Notify some time ago because it was sending duplicates. There was a checkbox somewhere that I unchecked. It is not in notification settings. This ...
1
vote
1answer
27 views

How to add body to field group?

I have installed Fieldgroup module to create groups in node edit form. However, when I am on Manage fields page (for content type) I cannot add body to a group. Is there any workaround using some ...
0
votes
0answers
18 views

Troubles with theme registry on cache rebuild

I have node_widget module installed and I want to display a node widget inside a form. It works on a fresh Drupal 6 installation, but on my website it doesn't. However, I noticed the following ...
0
votes
0answers
34 views

How really flush cache in D7?

EDIT My problem is that i have a module on a D6 website that should get some data from another website (a D7) but thoses data are old ones that should not exist. The D7 site have a Forum. The last ...
0
votes
1answer
36 views

Url adds zero at the end and duplicate contents appearing

Some of my contents have duplicate contents meaning it creates two path for the same content and I don't know how it track this and it adds zero(-0) at the end of the url like the below ...
0
votes
0answers
17 views

Using a regex as argument for a view

I currently have a view with an argument. $handler->override_option('arguments', array( 'title' => array( 'default_action' => 'not found', 'style_plugin' => 'default_summary', ...
0
votes
1answer
28 views

Pressflow and Varnish problem with aggregated CSS / JS on flush cache

We are using Varnish and Pressflow (v6.30). Every time we flush cache in Drupal, we encounter problems where browsers can not get requested CCS/JS aggregate files as they do not exist. We have found ...
0
votes
0answers
31 views

Accessing custom PHP script in Drupal 6

While trying to migrate a JavaScript / PHP Web Application to Drupal i came to the question how to access my custom php scripts in Drupal 6. I created a new module named "Configurator" in which the ...
0
votes
0answers
26 views

Webform select list with post values

I am trying to create a webform select list with a scenario as follows: User selects start and end date on a page and clicks onto the webform. In the webform I have to show a dropdown of dates ...
1
vote
1answer
29 views

Why is menu item for custom module not showing?

I'm new to Drupal and about to write my first custom module ("configurator") with help of the drupal documentation. I've implemented the menu hook: function configurator_menu() { $items = ...
0
votes
3answers
57 views

Where do I include css file?

As a total newbie in Drupal I asked myself where do I include a css file? (Using Drupal 6) I wrote a web application with javascript, php and mysql and now I'm trying my first steps in migrating this ...
0
votes
1answer
165 views

User uid incrementing in non sequential manner

I have a drupal site that has been running for about 1 year. there are about 1000 members in the users table recently I have noticed something very strange the Users uid field is no longer ...
1
vote
1answer
35 views

How do I dynamically change the $GLOBAL['base_path'] variable?

Example scenario: All authenticated users should see /members/ at the beginning of each URL path, and all anonymous users should see /guests/ at the beginning of each URL path. So if an anonymous ...
0
votes
0answers
39 views

custom feeds module not importing image into node, only on varnish

I have a custom module built upon the drupal "feeds" module. It creates a node from an XML item, and populates the fields from the nested XML. Everything works 100% on dev, but on live, the image is ...
1
vote
1answer
26 views

Drupal 6 Can I use subdomain, for the dev instance of a site and use multiple site configs

How do subdomains work in relationship to multiple sites? This seems to be danced around in the documentation that is out there. more specifically. If I have... primarydomain.com as my site in the ...
0
votes
1answer
15 views

Disable the comment path site-wide

Is it possible somehow to completely disable the /comment/ path on a Drupal 6 site? Our site really doesn't need comments and despite having disabled comments on all content types and removing any ...
0
votes
1answer
15 views

Are there hook_functions to handle submissions from the webforms module in Drupal 6?

I'm asking this question as a possible way to handle another issue I possted about ("Moving webform uploads to a non-public folderspace"). Is there a hook_function that I can use to handle the ...
0
votes
3answers
22 views

In Drupal 6 is there a way to edit custom blocks of text in a quick way?

I'm working on a client site that is Drupal 6 and many of the footer/header region areas have many blocks of text created via the blocks page. Its currently very cumbersome to go into the blocks page ...
0
votes
1answer
70 views

How to get node content in an sql query?

I see that in D6 the node table has only the title of the node. How to query database to get the body (content) of a particular node? Update: I figured out the content bodies are stored in ...
1
vote
0answers
15 views

Free-tagging user accounts

Is it possible to free tag user accounts in Drupal 6? For example, a user with appropriate permissions would be able to add tags created on the fly to any user account. If I could limit which user ...
0
votes
1answer
51 views

Why is hook_form_alter() not setting default values in _after_build function on /node/add/myct in D6?

I've got a validation form (id="mymodule-myct-verify-form") that retrieves data from temp_node to populate it's hidden fields. On submit, the form sends its data to /node/add/myct. (currently via ...
1
vote
0answers
29 views

Domain access: users of subdomain1 should not see users of subdomain2

I would like to restrict users and content to a certain sub domain. I am currently using Domain Access module and it's going quite well. The only problem is that I cannot figure out how to configure ...
0
votes
0answers
16 views

add terms to search engine

i want the standard search engine of drupal (6) finding answer with a specific idNumber. I add in a content type a field "myCustomIdNumber", in a node of that field i set the value, for example ...
0
votes
1answer
24 views

How to theme the Event content type node creation form in drupal 6?

I have installed Event module which gave me an "Event" content type. I want to theme the node edit/creation form for the Event content type that automatically comes once the Event module is enabled. ...
0
votes
2answers
27 views

Memcache Admin not showing up in Modules

I am updating a Drupal 6 installation to support memcached. After installing the memcache plugin, and configuring it with the following in settings.php, I cannot seem to access the Memcache admin page ...
0
votes
1answer
25 views

How to desactivate jquery_update logic for the homepage

The objective of this is to remove all legacy javascript files from the homepage except for the new javascript files I specifically want to load. Here is how I remove all the Javascript files I don't ...
0
votes
0answers
9 views

Defined action in custom module is not firing

I have an action defined in a custom module, with a self-contained function that fires on every node save or update. While the installation detects the action being defined through the Admin ...
0
votes
0answers
12 views

When does the Ubercart customer completes checkout trigger get pulled?

I've got a conditional action hooked to this trigger that sends out emails. Some of the orders that I want to get email for are recurring gifts that use the uc_payment_pack's other payment type. For ...
1
vote
1answer
52 views

One-time link without valid email address Spam Registrations

I have a D6 site that gets a lot of SPAM account registration and they all follow a pattern, however from different IP addresses (often during the following process): 1) User account is created 2) ...