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)

0
votes
0answers
7 views

Add a new country to location module in drupal 6

I need to add a new country to location module country list. I do not want to do it by changing in database. I can see there is a hook for the same in D7. <?php function ...
1
vote
0answers
7 views

View of most recent nodes, one per taxonomy term selected

Drupal 6 Views 2.x I am looking to create a view that lists the most recent node from a selected list of taxonomy terms. However, I only want it to display the most recent item from EACH term. So ...
0
votes
0answers
7 views

Migrating Images from D6 to D7 using migrate_d2d_ui

I have run through an initial file migration, which migrated all the files over to the D7 site. Now on a per content type basis and I need to link those files up. Here is what I have for the mapping ...
0
votes
1answer
10 views

How can i load a table on changing a select option using AHAH callback

I have drop down in a form as follows and i want to load a table of data using the drop down value , here is i have tried , function list_user_form(){ $form['howmany'] = array( '#title' ...
0
votes
0answers
10 views

How do I programmatically authenticate using shibbolet?

I need to be able to programmatically authenticate a user using shibboleth authentication, and create the user in Drupal if they don't already exist. I've looked at the shibboleth module but don't see ...
0
votes
2answers
26 views

504 Gateway Time-out error in batch process in drupal 6

I have submit the custom form using batch process in which process I have upload big xml file(min 200MB) and read xml file and inserted xml data in database but after 30~35 minits batch process ...
0
votes
0answers
18 views

How do I add files to the solr index in Drupal 6?

I'm using Drupal 6, Solr 4.9.0 and Apache Solr module v 6.x-3.x. I'm trying to use Solr to index files attached to nodes, but it's not working. I'm using the Solr Attachments module but I know it's ...
0
votes
2answers
15 views

how to uninstall custom database table in drupal 6

I want to create custom table for my custom module "custom_module_table" /** * Implements hook_install(). */ function custom_module_install() { drupal_install_schema('custom_module'); } ...
1
vote
1answer
24 views

How can i set the width of the select box in drupal form

Currently i have a select box in a form as follows : $form['fieldset']['event_trigger'] = array('#type' => 'select', '#title' => t('E-mail event trigger'), //'#default_value' => ...
0
votes
1answer
27 views

How to rewrite field with php in views?

I need to do a string replacment with php on a title field in views 3 / drupal 6.So i would to know the best way because after research i found these: use Views PHP module use Computed fields ...
0
votes
0answers
12 views

Search Report timeframe?

Does anyone know what timeframe the search report at /admin/reports/search includes? Is it all searches ever? For the last week? Last day? This is on Drupal 6.
0
votes
2answers
25 views

Select options not loading when using callback function

I am creating the select box form element as following $form['select-user-group'] = array( '#type' => 'select', '#title' => t('Select a group'), '#options' => ...
0
votes
0answers
11 views

how to implement ahah fields through cck module

I have add a select dropdown field in a content type form. I need to load values through an ajax call. when i do it error occurs on submit the page. says 'An illegal choice has been detected. Please ...
0
votes
1answer
25 views

How can i load options in to a select box when creating form element

I am creating form using drupal_get_form and i using the following code for creating a select box $form['select-user-group'] = array( '#type' => 'select', '#title' => t('Select a ...
0
votes
0answers
7 views

Drupal 6 uc_discounts expiry notification

I would need to trigger a function when a discount defined in uc_discounts expires. Is there any hook or other way to handle this?
0
votes
0answers
12 views

What is the first parameter of this db_query call for?

I've inherited some code. It works, but I'm wondering what the "5" does in this db_query statement. $result = db_query(5, "SELECT * FROM {foo} WHERE bar = '%d'", $bar_val);
1
vote
3answers
30 views

Select option values loaded with AJAX call, shows error illegal choice has been detected

I have a select field in my form named country. on change country i need to load values in state. I already placed the field for listing state, only want to load the values from ajax. In same way I ...
0
votes
1answer
23 views

Logins with port numbers not including ports on redirect/login

We recently upgraded our site to use Drupal 7. Previously we were using Drupal 6. In the testing phase, the Drupal 7 instance was available at ports 8000 and 8443 of the main domain, while Drupal 6 ...
0
votes
0answers
16 views

Unable to send mail using SMTP in Drupal 6

SMTP Authentication Support SMTP.module is active. The configuration options have been saved. SMTP.module is active. A test e-mail has been sent to itlakshman@gmail.com You may want to check ...
1
vote
2answers
16 views

How do I allow access to my custom module to “anonymous user”

case : I have created a custom module Implemented a hook_menu() as shown function my_custom_menu() { $items = array(); $items['my/custom/link'] = array( 'title' => t('My Custom ...
1
vote
3answers
55 views

How to remove author name from blog post url?

When a user publishes a blog post the user's name is included as part of the blog link or url: www.example.com/blogs/author/post-name What I want is that: www.example.com/blogs/post-name ...
1
vote
1answer
31 views

How does drupal send emails by default?

I have a site working on drupal 6 , and i uses drupal's default email function drupal_mail() to send emails , but unfortunately its not sending email and gives me "email not send , please contact site ...
0
votes
0answers
13 views

How to remove An error occured at sitename/admin/build/views/ajax/add-item/view-name/default/field ajax error

When i edit a view page from admin node edit like rearranging the display field or adding an extra field in the page display (all working through ajax), i am getting the following error as alert and ...
0
votes
1answer
31 views

Mail not going from drupal smtp

I have configured the smtp for drupal , as said in this link https://www.drupal.org/project/smtp and my smtp module folder lies in /sites/all/modules/smtp and phpmailer library lies in ...
0
votes
0answers
11 views

Migrate from drupal 6 some field migration

I have clean drupal 7 site. Also I have all content types without fields from original Drupal 6 site in it. For example original has node named blog and it has simple text field. How to migrate this ...
1
vote
1answer
19 views

How to extend a test class of dependent module

I am creating a module with dependency on another contrib module. When I am trying to extend the test class in dependent module, it works fine locally(using test UI). However when I try to test my new ...
0
votes
0answers
10 views

Drupal 6 : How to use pace js in batch API [duplicate]

Case : I want to use default progress bar in batch API like but now client is want to circle progress bar. I am trying to pace.js in drupal 6
1
vote
1answer
46 views

Views Bulk Operation alternative?

As VBO for Drupal 6 is outdated due to a security issue, is there an alternative to this module?
2
votes
1answer
23 views

Pace module in drupal 6 [closed]

Can anybody provide a version of the pace module that also works in drupal 6? It is available for Drupal 7, but not for Drupal 6. How can I implement this module in my Drupal 6 site? Any solutions? ...
0
votes
2answers
45 views

How to show circle progress bar in batch API [closed]

Case : I have copied data(node, user and file) by batch API. batch api show line progress bar. But I want to show circle progress bar. see the following image :
1
vote
0answers
23 views

How to debug users geting automatically logged out for unknown reasons?

For our Drupal 6 site, we've experienced such issue that logged-in users are getting logged out for around one week or several days. Firstly I thought this might happen with Boost module, but it ...
0
votes
1answer
16 views

No orders in user profile with custom state of order-status

Drupal 6 + Ubercart. I had created some new order statuses with own state. But when order gets this status, order dissapears from user "Ordered products" (in user's profile) How to fix this?
1
vote
2answers
22 views

How can I see what visitors are searching for?

Are visitor search terms stored somewhere in Drupal 6? I see a search_total table that might hold that info but the data in there looks kinda weird. I'm using search module in core.
0
votes
0answers
11 views

CKEditor rearranging inline styles

I am using the CKEditor module for Drupal 6, 6.x-1.15. I have set up rules for Advanced Content Filtering to allow all inline styles. Some styles seem to get rearranged. the biggest offender is ...
0
votes
0answers
26 views

Drupal 6 Views grouping with two taxonomies

On my content type I have two taxonomies. Colour and Brand taxonomies. Now on Views I want to build that it list all nodes within Brand taxonymy. So basically like this: Brand: Name1 Node title 2 ...
-1
votes
1answer
55 views

Off canvas menu for drupal 6

Are there any modules for Drupal 6 that provide an off-canvas menu? My site has mobile users and I want to hide the navigation bar when they view it. I want something like this: I have searched ...
0
votes
1answer
17 views

Drupal 6 views and duplicates

I have view that shows articles. It works fine if user selects one image but if she selects multiple images to article, it will duplicate the article on my view X amount time (x = number of images ...
0
votes
2answers
18 views

I am trying to use AJAX with Drupal 6. How do I determine the URL I am trying to contact?

I looked at the documentation here and it left me a bit confused. I don't need to access any files, I am just returning the date that is on the server to my Javascript code. (I don't want the ...
1
vote
1answer
51 views

Is it possible to combine a Bootstrap theme with an existing custom Drupal 6 theme?

Is it possible to combine a Bootstrap theme with an existing custom Drupal 6 theme? I want to use Grayscale in my Drupal 6 website. But I already have an existing custom theme and I am not sure if I ...
0
votes
1answer
17 views

Print current drupal menu level

Hitting my head against the wall here. I've volunteered to print a list of the current menu items (at the same level as the currently viewed menu) print theme('links', $secondary_links, array('class' ...
0
votes
0answers
12 views

How to manage text snippets in one place

How to manage text snippets like phone numbers or contact us email address in one central location so that Edit once to reflect every single page it's mentioned Central place and workflow for these ...
0
votes
0answers
8 views

How do I take out or hide only one of the optgroup tags that I am using?

I have tried using #post_render by adding div tags around the optgroup tags. The idea was that this would take out a specific optgroup when the javascript event arises, but I tried this with no ...
1
vote
1answer
14 views

Can I show an image in place of a Drupal 6 message?

I have a form, that upon completion, goes back to the page it was called from and displays a message of success when everything is done. Is it possible to just display an image on that same page, or ...
0
votes
0answers
13 views

Salesforce module tries to create dummy users, but required fields missing

We have recently enabled Salesforce integration between Users and Salesforce Contacts on our (Drupal 6) site. When cron runs, it seems to fail every time. I'm not sure if this is because of a Drupal ...
0
votes
1answer
12 views

How do I do a file upload with other form data in Drupal 6?

I have this in my form function: $form['#attributes'] = array('enctype' => 'multipart/form-data'); ... other form fields $form['form']['form_file'] = array ( '#type' => 'file', ...
0
votes
0answers
21 views

What error has the value of one in regards to the file_save_upload in Drupal 6

I called file_save_upload and then form_get_errors. form_get_errors returned 1. What is this error? I tried googling for this error, but I guess the words I used to search for it weren't good ...
0
votes
2answers
33 views

How to print taxonomy id of the current taxonomy term

I have custom taxonomy term pages which I'm using to override forum pages and I want to emulate advanced forum node/add/forum/tid button so I have to get tid but don't know how, I can only find ...
0
votes
0answers
14 views

Question on Drupal and HTTP requests

I am using the drupal_http_request method and It seems to work well. When I use it, I send by POST from site A, a return URL (which would be site C) to site B that I am directing drupal to go to. So ...
0
votes
0answers
8 views

domain taxonomy exposed on page load uc_catalog

On my homepage, we have displayed catalog block using uc_catalog module. Also, we have domain_taxonomy module installed in our Drupal 6 setup and it seems to be working fine when we are going to ...
0
votes
1answer
16 views

Help with notifications in views

I'm trying to make notifications for users, same as the ones on here (inbox) on top of each page. You can see it here: http://test.unitra.eu.org/user (top left corner "POWIADOMIENIA"). Sadly it ...