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)

1
vote
1answer
22 views

How I do configure bigbluebutton module in drupal

I have installed bigbluebutton setup on my server, its demo code are working fine and also I have enable bbb module and put server base url and Security Salt key in drupal. But problem is that How to ...
2
votes
0answers
31 views

How do I enable recording option in the BigBlueButton module?

I am using the BigBlueButton module for conference in Drupal 6. I also installed the server. The demo code (http://demo.bigbluebutton.org/demo/demo10.jsp) is properly executed. I passed record=true ...
0
votes
1answer
28 views

How to export articles from Drupal 6 into Drupal 7?

I'm going to upgrade my Drupal 6 site to Drupal 7. I copied every files from Drupal 6 to new folder and tested it. The database imported in Drupal 7 was the database at 1 August 2015. Could I ...
0
votes
1answer
33 views

Drupal.settings.basePath is not giving the base_url in js

When I alerted the Drupal.settings.basePath it's just giving me a /. I have a full $base_url in settings.php. which I'm expecting to see instead of /. How can I get the correct value of the base URL ...
0
votes
1answer
17 views

How to add the js files to specfic modules only in D6

I am having a module and am adding the js files which is using on the top of the module file as follows : drupal_add_js(drupal_get_path("module", "notification") . "/js/jquery.js"); But the problem ...
0
votes
1answer
14 views

Update Drupal Core from 6.26 to 6.36 using update.php gave no errors, but Drupal still reports that it is on version 6.26

I've followed all of the steps on https://www.drupal.org/upgrade/running-update-php to upgrade my Drupal Core. I put the site into maintenance mode. I disabled all modules except the core required ...
0
votes
2answers
27 views

How to blocks visible only in specific pages?

I am setting the links as a block in the left panel as follows : function notification_block($op = 'list', $delta = 0, $edit = array()) { if ($op == 'list') { $blocks[0] = array( 'info' ...
0
votes
2answers
24 views

How to show the data returned via hook_views_data() in a page?

I have hook_views_api as follows : function hook_views_api() { return array( 'api' => 2, 'path' => drupal_get_path('module', 'faq') . '/views', ); } and i have the ...
1
vote
0answers
13 views

Hook into scheduler to delete node from nodequeue on unpublish

I'm working on Drupal 6 site and trying to solve the following issue. If scheduler unpublishes a node, it should be deleted from all nodequeues it's in. currently I'm looking for hooking into the ...
0
votes
1answer
27 views

How to programmatically set the color scheme for a theme?

Is there a way to programmatically change the color scheme, set by the color module, for a certain theme in Drupal 6 (in PHP or using drush)? For example, I can change Garland's color scheme from the ...
1
vote
1answer
29 views

How can I create a custom view other than content types?

How can I create a view that's based on a custom table from a custom module. Actually in creating views path I can see options of view types as: View type: Node: Nodes are a Drupal site's ...
0
votes
0answers
26 views

How to edit db query of views in drupal [closed]

I have a list of views in the url https://mysiteaddress.com/admin/build/views/list and in that most of the functionalities are loaded using ajax and I can see the live preview below, but I can't edit ...
0
votes
0answers
10 views

Is it possible to translate contents of a block with Drupal 6?

I am working on a project to translate the contents of a block I created. From what I have seen I might have to use hook_menu instead of hook_block. Is this true?
0
votes
1answer
20 views

Using the t() function in Drupal 6

So I have used the t function correctly e.g. t('hello world') But I am not sure what else to do to get these strings translated. I tried looking at the hook_locale documentation, but I wasn't sure ...
1
vote
0answers
25 views

How to create a user in supporting database?

I have created custom user with the help of the user_data() function. I'm using two databases: DB1(master) and DB2(supporting) on the same server. I want to create a user in the DB2 database but by ...
0
votes
1answer
32 views

How to display block using hook_block on specific pages only

I am creating the block using the following code , but i need to dsiplay this block only in specific pages only . How can i achieve this ? function mailusers_block($op = 'list', $delta = 0, $edit = ...
1
vote
2answers
39 views

How do I resize image directly while uploading the image?

How do I resize image directly while uploading the image? Select image from Computer > Upload > Resize directly to dimension that I want.
0
votes
2answers
24 views

How to render a static html from a drupal module

I need to call a static html page and display the content of it when calling it from the module function , i tried to call from the form api but its just rendering the full markup ,please help here ...
2
votes
3answers
77 views

how can I change the site name

For some reason, I'm not able to change the name of this site. I try to change the name to 'Test Name', as shown in this screenprint: But after I save the page, the name is repopulated with the ...
0
votes
1answer
42 views

How to give confirmation for deletion through link?

I have tabular format data and each row I have an edit and delete links , on clicking on the delete link it should ask for a confirmation to delete and if press delete only I need to delete. Now its ...
0
votes
0answers
10 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
10 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
17 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
11 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' ...
-2
votes
0answers
15 views

How do I programmatically authenticate using shibbolet? [on hold]

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
38 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
20 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
17 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
31 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
29 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
29 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
31 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
8 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
49 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
24 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 ...
1
vote
3answers
26 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
1answer
36 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
15 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
56 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
12 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
24 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
11 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
55 views

Views Bulk Operation alternative?

As VBO for Drupal 6 is outdated due to a security issue, is there an alternative to this module?
1
vote
1answer
30 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
56 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
25 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?