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
3 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
2 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
0answers
8 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
25 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
18 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 ...
0
votes
0answers
10 views

Move email form to different page and confirm password

Im trying to move the change email form to a separate page just like the chgpwd module does with passwords. However the form doesn't actually seem to do anything when submitted. I also want to make ...
0
votes
1answer
7 views

Administrator role can't edit html source in tinymce

I have created and administrator role that has full HTML editing capabilities when creating a node. The issue I am having is that when they click on the button to edit html source button (in tinymce) ...
0
votes
0answers
20 views

Two separate node types with different relationship/arguments and views

I have two different kind of node types. Another is just typical content type ( content type name: blog_post). Other one is used for feeds. For this I'm using Feeds import module (content type name ...
0
votes
1answer
17 views

Views API - how to replace PHP fields

So a client that I inherited has multiple PHP fields in each of their views. I'd like to replace them. They're using PHP Code module as well as Views Customfield. Would I have to write a custom ...
0
votes
1answer
6 views

6: Ubercart 2 with Mimemail still strips html

I'm having an issue where confirmation emails from ubercart seem to have content html removed. In my setup somehow the html in the ubercart email template is being stripped when it reaches the ...
0
votes
1answer
9 views

Exporting Site Configuration Settings into Features

This is on a Drupal 6 site, and we want to export several settings (like CSS aggregation) into features, however it doesn't appear like there's anyway to do this. Do we need to write a custom feature ...
0
votes
1answer
12 views

Writing a field formatter for D6

So I'm almost embarrassed to ask this, but it's been so long since I've touched Drupal 6. We've been asked for something which requires another Field Formatter for a File field. Form the code below, ...
0
votes
0answers
8 views

Trouble creating ckk fields programatically

I have followed this tutorial http://www.calebthorne.com/module-development/2013/Jul/create-cck-field-programatically-drupal-6 to create a ckk fields programatically. (I also did a printout of ...
-1
votes
0answers
16 views

media flickr module black box photoset

I'm using the media_flickr and emfield modules. Everything used to work normally, ie I already have nodes with working flickr photosets, but not anymore. Whenever I try to embed a flickr link from my ...
0
votes
1answer
27 views

Apachesolr searching is not working with cck field

I am working in Drupal 6 website with apachesolr. I have added a cck field (text field) in a content type. When I am searching the value of textfield, apachesolr showing empty result. The field is ...
1
vote
3answers
100 views

Migrate: What's the difference between prepare() and prepareRow()?

Using the Migrate module: I understand that prepareRow() runs a filter on the row and should return TRUE or FALSE based on some conditions, which allows a row to be migrated or not, but could someone ...
0
votes
2answers
23 views

Drupal 6 on php 5.5 compatibility

Did someone tried Drupal 6 on php 5.5? I have running 20+ drupal 6 sites on php 5.4 without large issues, but what about php 5.5?
0
votes
1answer
13 views

Programmatically render an imagefield in Drupal 6 as defined in content-field.tpl.php

What sounds like simple task in the first place, has taken me hours without getting a solution: All I want is to render single values of an imagefield just as in the normal node, i.e. as defined in ...
0
votes
0answers
56 views

How to reduce first byte time on a Pressflow (D6) site

The problem: A medium-sized Pressflow site performs OK, when content is delivered through Varnish; content from the backend takes inacceptable long to reach the users browser, and there's too much ...
0
votes
2answers
32 views

Can a content type have default input in fields

Is there a way for a user to add new content and have some of the fields already pre populated with default text/input. That way the user can amend what changes are required for a node without having ...
0
votes
1answer
15 views

Get list of node dependencies

in Drupal 6, is there a way to list by programmation (function or SQL code) the dependancies of a node ? For exemple, I have videos that are nodes. Thoses videos are refered in other nodes. Before ...
0
votes
0answers
18 views

first_child Menu not working after rebuild the permissions d6

After rebuild the permission, menus are disappeared. Every link has given a problem. I checked db logs, drupal logs, also compare server files but i have not found any changes. I could not ...
0
votes
1answer
29 views

Get field from another content type in Views

I have two content types, 'user' content type where I have some info about user and then 'post' content type. Now I have a view that gets all 'posts' and shows them correctly but I would need to get ...
-1
votes
0answers
18 views

apache solr can not index large data

I am using apachesolr in drupal 6 (live) website. It was working fine earlier. But, now I am getting the issue that maximum number of items index per cron can be 10. If we increase the number of items ...
0
votes
1answer
16 views

Integer field radio buttons doen't save

I have integer field with 3 radio button options. When I select one of the option try to save new content it doesn't save the integer value. Field is not required and options are like this: car|Car ...
0
votes
1answer
17 views

Views SQL-query slow with big dataset and exposed filters

I have a problem with a Drupal 6 site working with many nodes. This is the SQL given by Views: https://gist.github.com/ranbogmord/79bfa50e40db1322c9e0 The query takes 5-10s to run through and the ...
0
votes
1answer
31 views

How to get different size image on views

I have view that fetch content and I show it on a block. My view shows 16 nodes and each node has title, date and image. For images I use imagecache to get correct size image. I have set this image to ...
0
votes
1answer
47 views

D 6 Grab a particular menu item within the primary links

Let's say we have a menu inside the primary links, in my case the Misc menu. As it seems under Misc menu it can be any Content Type (of course and on every other menu) The question is how can I ...
0
votes
0answers
26 views

drupal_add_js in input filter

I have a module that provides an input filter for Drupal 6 and 7. It renders some elements using a (heavy) JavaScript module that I don't want to include on every page. In Drupal 6 the input filter ...
0
votes
0answers
48 views

PHP Fatal Error: Class 'Facebook' not found in

I put the Facebook SDK file in the same directory as my module file. sites/ all/ modules/ rock/ rock.module --> My custom module file facebook.php --> The ...
1
vote
2answers
50 views

Implementing LDAP with exsisting user base

We are in the experimental stages of implementing LDAP in our Drupal 6 environment, using the LDAP integration module. LDAP is installed and working in our dev environment and now we are looking at ...
1
vote
3answers
93 views

Redirect “edit” tab on single node view

I created custom node edit pages and I want the edit tab to redirect from node/2545/edit to topic/2545/edit or node/2549/edit to arts/2545/edit depending on the content type This is not an ...
0
votes
0answers
29 views

What to do if using Drupal 7 but host only supports Drupal 6?

What to do if using Drupal 7 but host only supports Drupal 6? Downgrade not an option. Would like to keep Drupal 7.
0
votes
0answers
12 views

Sidebars and header no longer expressed but blocks are still defined

I inherited a Drupal 6.28 site using theme Colourise 6.x-2.1. I do PHP dev but am not very familiar with Drupal. Today without having modified any files and without having made other updates none of ...
0
votes
2answers
26 views

How to get event node to pull in data from a seperate node?

I'm trying to setup an events calendar in drupal 6. I have an event content type and a location content type. My problem is that I want the event node to display relevant data from the location node ...
0
votes
0answers
37 views

How do I use nodes created by the Sheetnode module?

I have installed the Sheetnode module and created a node called "spread1" of this type. How can I select a complete row in this node? In MS Excel, you just have to click the row number or column ...
1
vote
1answer
49 views

Find users who have not uploaded certain contents in last 30 days [closed]

I need to find users who have not uploaded certain contents in last 30 days. I have tried this query it is not working. Can anyone help me? select uid, max(created) as max_created from node where ...
1
vote
1answer
19 views

Show Link to Subscribe/Unsubscribe to Nodes in a View

I'm creating a view that shows all the nodes of a specific type. I'm looking to also show which of those nodes the current user is subscribed to and provide a link to subscribe or unsubscribe. Is ...
0
votes
1answer
30 views

How can get five star rating data in drupal 6 services views?

i am using drupal 6.x, added five star(fivestar module) rating functionality to a node in my site. Everything working fine but i want to users rated data in drupal json services for mobile ...
0
votes
0answers
34 views

Permissions for referencing user's own nodes

Problem When I'm logged in as a "Administrator" (i.e., a user with pretty much every permission on the site although technically not user=1), I can go to node/add/type1, add a reference to a node of ...
0
votes
0answers
16 views

WSOD after attempting to change domain in Domain Alias

I have three interconnected sites running off the same D6 installation: domain1.com domain2.com domain3.domain1.com The last one is the one I need to change from what it is now to domain3.com. The ...
0
votes
0answers
23 views

Site indexed with cache folder

I'm using boost module 6.x-1.21 version and I noticed that one url is indexed with cache folder something like http://www.example.com/cache/normal/forum/623_.html.gz will I block the this ...
0
votes
0answers
6 views

Drupal 6 Ubercart - uc_coupon module 1.7

https://drupal.org/project/uc_coupon - D6 Ver 1.7 How do I configure this module so that one coupon can be used multiple times on the same product. Example - We sell seats, 10 at a time, and give ...
0
votes
1answer
79 views

DB queries fast, Apache response slow, high PHP CPU

Working with D6, trying to get a page running more efficiently. I made a lot of progress by installing the Cache Backport module and configuring Redis, so devel shows my DB queries are a fraction of ...
1
vote
1answer
23 views

Cache Backport not loading correctly. Unable to change cache.inc location?

Drupal 6, trying to get the Cache Backport module working. Every time I load a page, this error fires: Call to undefined function _cache_get_object() in ...
1
vote
1answer
33 views

Boost Cache helps some pages, hurts others?

I'm working on fixing some performance issues of a Drupal 6 site. Very new to Drupal, been figuring things out as I go, so please bear with me here. My client has a rather busy site and uses Boost ...
0
votes
1answer
63 views

Can I rename index.php?

I am going to replace the front page of a Drupal 6 site with a new index.php. How can I rename the Drupal 6 index.php (say, to drupal.php) and keep the Drupal site functions working? For example, I'd ...
0
votes
0answers
49 views

Unable to send an attachment in email in drupal 6 using mimemail function?

I have tried sending email using the code below function custom_pfs_send_mail () { header('Location: sites/default/TEST.pdf'); global $user; $sender = 'abc@sender.com'; ...
0
votes
0answers
19 views

Drupal 6 content type sometimes saving blank required fields

First time question - so I hope I do this right. I have a problem where periodically and seemingly randomly new content type nodes with many required fields are being saved to the database with all ...
0
votes
0answers
42 views

Drupal migration / local development

I have a Drupal site which is online, and I'm going to do some maintenance on it. That means I need to have a local copy to do some testing first. They've given me a copy of the site on a folder ...