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
4 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
9 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
9 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
5 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
18 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
8 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
23 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
19 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
15 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
0answers
12 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
19 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
14 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
9 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
6 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
47 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
13 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
9 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
29 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
14 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
43 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
24 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
12 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 = ...
0
votes
1answer
26 views

File upload functionality on node display page

I wants to provide upload button on node display page. By click button able to upload files. For this i am doing change in node.tpl file. <?php //code added if($node->title=='Course ...
0
votes
1answer
15 views

How to print the HTML content of the text field in Drupal 6 programmatically

I am printing the $node->field_abc[0]['value'] in php code where node is node content and field_abc is text field . How can I print the html format of the field in Drupal 6
0
votes
0answers
25 views

How to customize a front page variant with CSS

I need to do some customization on a page variant front page of a section of a website. What is the best way to do this? I am working on Drupal 6 if that helps.
0
votes
0answers
19 views

Users without “administer nodes” see a limited view

I'm attempting to create a view showing all the nodes that a user is referenced in (via a CCK user reference field in a multigroup). Because they are multigroups, a user may be referenced multiple ...
1
vote
3answers
217 views

add additional values to views result

I try to accomplish following task: I have a view with all products that were ordered during certain period of time (based on invoice creation time). (view is of type of order) I am using sql ...
0
votes
1answer
14 views

Error: include_once(): Failed opening './includes/unicode.entities.inc'

I am working on a D6 site and I have created some fields programatically, and it looked like it worked fine (code below). The fields show up in the database and on the UI screen. However, I found that ...
0
votes
0answers
22 views

Is there a way to generate thumbnail for a .doc file in Drupal 6?

I am using file upload module to upload multiple .doc and .pdf files. I just want to display the the uploaded file as thumbnail. Can you suggest any possibilities?
0
votes
0answers
7 views

Open node by version id in drupal 6

I am basically looking to view a node by it's version id (vid). I am not looking to load the node programmatically. For ex. Node id is "xyz" which can be loaded by /node/nid. I need something like ...
0
votes
1answer
15 views

How to delete a cck field base in Drupal 6

I have programatically created some cck fields with this function: content_field_instance_create($field) and I tried to delete them with this: content_field_instance_delete($field_name, 'product', ...
1
vote
1answer
33 views

Possible to use PDO inside a custom module in Drupal 6?

I'm about to build some new functionality on an old Drupal 6 site which will be upgraded to D7 or D8 within a year or so. This new module is heavy on the SQL and I'm building many complex SQL queries. ...
0
votes
0answers
31 views

How to set the body field as required?

I want to create a forum module. Im using Drupal 6.0 and I want to set body field as required field programmatically. $form['body']['#required'] = TRUE; $form['body'][LANGUAGE_NONE][0]['#required'] ...
0
votes
1answer
54 views

form rendering through tpl file

I want to render drupal 6 form through tpl file. for that 1. I have written mytheme_theme in template.php file and there I have define my template forms arguments and path for tpl file. I have ...
0
votes
0answers
18 views

Slow SQL query in Views relationship from Content Profile module

I have a slow SQL query in a view using a relationship from the Content Profile module (D6). My problem is more on the SQL side. Once I have the proper query I should be able to change it. The query ...
1
vote
0answers
9 views

Polls seeing multiple users as one user (D6)

For the polls core module, I am coming across an issue where if multiple users of the same role type try to vote, only the first person who did so can. It is almost as if it thinks that all the users ...
0
votes
0answers
27 views

D6 blog post archive with year and month with Views

I would need to show my blog post as year/month archive with Views. This way: 2014 -July (2) -June (12) ...so on 2013 December (21) November (11) ...so on All months are links to page which shows ...
0
votes
2answers
23 views

List all nodequeues a node belongs to

Given I have a node, how to programmatically find out all the nodequeues it belongs to? Is there any ready functionality in Drupal 6 or do I just have query this from the DB myself?
0
votes
0answers
18 views

Organic group Teaser D6

I'm using organic group for Drupal 6. Is it possible to allow anonymous users to view the teaser of a node even if it the node is set private? Anonymous shouldn't be able access the full node.
1
vote
1answer
14 views

Drupal 6 - Get 5 newest nodes of a certain type

I have a content type called "announcements". They each have a title and field for the announcement. I'd like to be able to, in my .module, get the last five announcements and print out their contents ...
0
votes
1answer
10 views

Database error after transferring Drupal 6 site

I just moved a Drupal 6 site from one server to another and have just started getting an error. Warning: Table 'mydatabase.watchdog' doesn't exist. The table does exist in the database and it does ...
0
votes
0answers
27 views

Two different relationships and one view

I would need to combine two content types into one view. Well this is easy but where it gets more tricky is that other content type would need to user relationship that connects to another (third) ...
0
votes
0answers
19 views

use “no cache” but input filter seems to be cached in Drupal 6

I am trying to display a add to cart button and it only rarely works. It seems to work when the cache is cleared and then not work. I have added the no cache option but this doesn't seem to do ...
0
votes
0answers
7 views

Modifying the content in a view

This is in Drupal 6, so Views 2.x I'm trying to modify the output of a view - there's a field that should be set in some situations, but not in others, but for some reason it is defaulting to "Please ...
0
votes
2answers
28 views

How can I create a content type in a custom module?

I would like to create a content type called announcements for a module that I'm creating, but haven't found much to make this work. I tried this: function srl_dash_install() { ...
0
votes
1answer
34 views

Can the jQuery global $ be protected from external Javascript?

I'm working on a Drupal 6 site that uses the Regpacks signup form service, and apparently the iFrame it creates includes Javascript that redefines the $ global as a function. So any Javascript on the ...
0
votes
1answer
49 views

Replacement module for Image FUpload

Last week the Image FUpload module got the "no longer supported" status because "its dependencies swfupload are not maintained and not safe anymore". Are there any Drupal 6 modules that can replace ...