Tagged Questions

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
11 views

Drupal 6 website showing junk characters

My drupal 6 website is showing junk characters like: <�h�3�>�C�o�m�m�e�n�t�s�<�/�h�3�>� �<�t�a�b�l�e�>�<�t�r� �b�g�c�o�l�o�r�=�'�#�E�7�E�7�E�F�'�>�<�t�d�>�P�o�s�t�e�d� �O�n�:� ...
1
vote
1answer
33 views

How to backport db_merge() to drupal 6?

I am converting a module from drupal 7 to drupal 6. I have a query in drupal 7. The query contains function db_merge() db_merge('facebook_rules_user_tokens') ->key(array('uid' => ...
0
votes
0answers
9 views

form_build_id not being passed to multigroup add_more_js

I am working on a D6 site and I found that the Add More button on a multigroup (which runs a AHAH request) doesn't work and returns a 500 Error. I inspected the code in the multigroup module ...
0
votes
0answers
11 views

Facebook PHP SDK upgrade from 3.2.3 to 4.0.0 on Drupal 6 site [on hold]

It seems that the necessary php version for the facebook php 4.0.0 sdk is php5.4 yet drupal 6 sites supports only php 5.3 for now. Is there a solution for this issue that can use the 4.0.0 sdk without ...
0
votes
2answers
17 views

Scheduling a module to run at a specific time

Is there any way to schedule a particular sub-module to run at a specific time? I found hook_cron but it seems to rely on a scheduled cron job in crontab to run cron.php and then cron.php calls ...
0
votes
1answer
10 views

Producing collapsible field sets with theme functions

In an older Drupal 6 instance, I'm updating a module to produce a collapsible fieldset with the following: function my_module_function($table_collections) { // include JavaScript for collapse ...
0
votes
0answers
9 views

Drupal 6 Core Update Not Updating

I am running Drupal 6 and have attempted to update the Core about 5 times recently, and it continues to tell me I haven't updated it. I AM running update.php, and doing it the way it's always worked ...
1
vote
1answer
35 views

Domain Access with URL Alias - same content, but with different automated aliases

I have a site running Domain Access with two domains - the primary domain and the sub-domain. Both domains share the same content in the database, but I would like the automated URL aliases for the ...
1
vote
0answers
9 views

Unable to find Fast Registration Mode to register and login user automatically using fbconnect button

I read the README.txt from start to finish. 1. I have enabled the following modules under drupal for facebook. 1. Facebook API 2. Facebook Apps 3. Facebook Connect 4. FB User Management ...
0
votes
0answers
6 views

Set the back-office theme to a specific url

(On drupal 6) On some of the websites i have to manage, the translation page of a node ( mywebsiteurl.com/node/NodeNid/translate) use the main theme instead of the back office theme. I have some ...
1
vote
1answer
29 views

display node inside colorbox

Is it possible to display a node content (without sidebar etc.) inside colorbox in Drupal 6. I know there is module for that in drupal 7 - colorbox-node. But I could not find any thread bout same ...
0
votes
1answer
36 views

drupal_static and XHProf

I'm using D6 but stole drupal_static() from D7 for a high demand site I'm currently working on. I'm currently optimising some of the slower pages with XHProf which has been fine, but I'm getting a ...
0
votes
2answers
42 views

Get the name of the uploaded file

I'm completely new in using drupal 6. I was wondering if there is a way to print the name of an uploaded file in a node. Thanks for the help Cheers
0
votes
0answers
13 views

Migrating away from janrain module

I have been using janrain login for quite some time and wanted to switch this module with the fblogin module. I wanted to know whether the existing users who have signed up using janrain fb login ...
0
votes
1answer
19 views

Text only rotating banner

Is there any module for drupal 6 I can use to create a rotating banner with no images for drupal 6 site Thanks Colin
0
votes
0answers
11 views

Apachesolr filter file attachments

Apachesolr search and attachments ver. 6.x-1.x Apachedolr by default has filters for node content types. However, there are no filters for file attachments attached to nodes. Furthermore, the node ...
2
votes
0answers
45 views

How can I force Drupal to load all taxonomy terms?

On a site that heavily uses Drupal core's taxonomy, we are encountering serious problems when editing content: Already entered taxonomy terms are not properly loaded into the node editing form; fields ...
0
votes
1answer
9 views

After drupal 6> 7 upgrade attached pdf links not visible

After upgrade fromn 6 > 7 attachment information is not visible in nodes. Data exists in dbase. What is best approach to re-connecting pdf, mp3 and other attachments to specific nodes. (2000 or so) ...
0
votes
0answers
13 views

Drupal 6 archiving options

Pardon my inexperience, I'm currently maintaining some drupal6 sites. With the drupal8 beta release out, I'm realizing that theses sites are now at risk of being unsupported in the next year. It's a ...
1
vote
1answer
117 views

Make a direct database query

Basically I want to run this query against the current database and retrieve all node titles with node type of foo_type. SELECT title FROM node WHERE type='foo_type' ORDER BY title ASC How can I do ...
0
votes
2answers
29 views

can't remove js from page

I've looked at this post http://stackoverflow.com/questions/9578013/how-to-unset-a-js-file-from-a-drupal6-installation-doesn%C2%B4t-work-with-remove-sc and this one How to unset javascripts in Drupal? ...
0
votes
0answers
21 views

Programatically alter field label using hook_views_pre_render

I know this can be done easily using the Views UI under 'rewrite the output of this field'. But for some reason I really need it done through a custom module using hook_views_pre_render (or possibly ...
1
vote
0answers
24 views

Disable file name change when downloading private files

I'm using drupal 6. When user is downloading file from my website name of the file is changed to "download" on chrome (in firefox it is just random string) and only when file is image or pdf file ...
0
votes
0answers
18 views

jquery multi doesn't work for IE

I have a jquery plugin which requires jquery 1.7 and up but the site uses a lower version. Originally, I fixed the issue by adding this in the view alter ...
0
votes
0answers
15 views

php libchart with value from my custom table

I want select value from my custom table where there are tweets saved. I have the column for the counter of retweets and i want the sum of the count hourly for 24 hour. I write this code: $time = ...
0
votes
0answers
7 views

module_implements_alter drupal 6 alternative

what is the alternative for hook_module_implements_alter on drupal 6? I need to change the order of one special hook.
0
votes
1answer
13 views

private files in drupal 6

I have a sub directory in my files directory which I want to store private images. I display the images with their watermark, via the imagecache modules. I thought I could make the directory (with ...
0
votes
1answer
11 views

ubercart 2 with smtp - sending unformatted emails

Recently I had to switch sending emails to be sent using smtp. https://www.drupal.org/project/smtp The problem is that all system emails are sent ok regarding formatting. All emails sent by ubercart ...
0
votes
0answers
8 views

Is there any backport of “Grouped filters” available in Views 6.x-3.x branch?

In Views 3 (Drupal 7), there is a nice feature when you expose a Views filter, you can select "Grouped filters" option and define a set of conditions. Is there any module that backports this ...
0
votes
1answer
12 views

Drupal 6: Custom Menu not Expanding when Parent (generated by views) is selected

I have a Drupal 6.26 site with a custom menu like so: -Category 1 --Page --Page -Category 2 --Page --Page ... All Category pages are genrated by a view (e.g. sitename.com/intranet/category) All ...
0
votes
0answers
23 views

Filter search result in SOLR 1.4.1 with Drupal 6 by comment containing string by specific author

I have my forum comments indexed in array ts_comment, Authors of the comments are indexed in ts_cauthor. When I filter using: $subquery2 = apachesolr_drupal_query(); ...
0
votes
0answers
10 views

Adding a custom vbo action in drupal 6

function custom_profile_action_info() { return array( 'custom_profile_mail_action' => array( 'type' => 'system', 'description' => t('Custom Send Mail'), 'configurable' ...
0
votes
2answers
25 views

Drupal 6 will not use updated htaccess 301 information

I'm not 100% sure that this is a Drupal problem, but I think there is any issue with my site not flushing the cache. I am trying to change a redirect. I was having some trouble with URL Redirect in ...
0
votes
1answer
30 views

File upload empty in custom form

I have a really simple form with a file upload. It actually used to work until I recently noticed it's not saving the file. When I check for the submitted values, the file field is empty, but the file ...
0
votes
0answers
18 views

Get nodes of taxonomy: drupal 6

I want to show nodes of a taxonomy. when i'm using this, it shows me children of my taxonomy not nodes, can someone help me plz? function louvre_web_service_selections() { $tid = 145; $view ...
0
votes
1answer
22 views

Primary menu not showing when lanugage is changed?

I have installed following modules : 1.Locale 2.Content Translation 3.Internationalization 4.Block translation 5.CCK translation 6.Content type translation 7.Menu translation I added Arabic ...
0
votes
0answers
20 views

All my Js are called in the body, how can I fix that situation?

I a have a drupal 6 website to fix. All the scripts are called in the body, even with the scope value set to "header" or "footer" in the drupal_add_js function. It's a problem because some script are ...
0
votes
0answers
21 views

Node content in a vertical quicktabs via views

I'm looking for a way to display some node content (title and body) via Quick Tabs. I done a views to that automatically (filter on content type) and I guess will do the trick (but i need to split ...
0
votes
0answers
16 views

Node Automatically Scrolls to Comments on Load

For some reason, one of my content types scrolls to the comments section of the node every time it loads (instead of starting you at the top of the page). Disabling comments for that node solves the ...
0
votes
0answers
10 views

Video module uploads failing in Chrome

Video uploads work reliably in Firefox (31), but not in Chrome (37.0.2062.94). I am using the 6.x-5.3 version of Video and uploading files to S3 with transcoding provided by Zencoder. The video ...
0
votes
0answers
9 views

How to get the parent title of a custom menu active item

When using a custom menu I am able to use the menu_block module to layout different combinations of parent -> child levels of the menu in various areas of my templates which is great, but now I also ...
0
votes
3answers
66 views

Form: Custom submit callback is not called

I have a form with a second button which should add new form elements according to this page. The callback does not get called though. The second button is configured as follows: $form[ 'addTicket' ] ...
0
votes
1answer
23 views

Regarding Filter HTML input option [duplicate]

I want to allow one more tag in Filter html Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>. I want to add ...
0
votes
1answer
23 views

Drupal 6 webform: send email if a checkbox is checked?

I have a webform in Drupal 6 with a checkbox component: 'Send email'. If this box is checked I would like a rule to trigger an email send. Is this possible with a Drupal 6 webform? Thanks
0
votes
0answers
13 views

Taxonomy terms not showing up in drupal 6

I updated the drupal 6 site via drush, moved all of the modules into the correct places, but the taxonomy terms saved using the form attached to the content type does not appear on the node ...
0
votes
1answer
35 views

How can I replace certain strings in variable table all at once? [closed]

I would like to replace all the 'aaaa' strings with 'bbbbbb' in value column of variable table. I was initially trying to do that with just a simple query like this. UPDATE variable SET `value` = ...
0
votes
0answers
16 views

Download the drafted webform

In my webform I've enabled the feature to save form as draft, any possibilities to download the drafted form as a PDF ?
0
votes
1answer
52 views

How can I modify the values in variable table using phpmyadmin?

I modify the site name in variable table using phpmyadmin as below. s:21:"example@example.com"; to s:21:"example@example.info"; But then when I run cron I get the follwoing message. Warning: ...
0
votes
0answers
38 views

Multiple file upload using Form api in drupal 6

I able to find the code for how to upload multiple files in custom form drupal 7 but wants do the same things drupal 6. Can you please suggest if anyone done previously. function ...
0
votes
0answers
15 views

Ubercart Discounts (alternative) applies discount to all items in cart (drupal 6)

I've created some bulk discounts to be applied when the number of products added to the cart is between specific ranges (e.g. Minimum qualification amount = 10 & Maximum qualification amount = ...