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

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
13 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
22 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
88 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
22 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
10 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
45 views

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

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
17 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
15 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
30 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
22 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
45 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
49 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
11 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
36 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
29 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
31 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
74 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
22 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
32 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
60 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
44 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
18 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 ...
0
votes
1answer
15 views

Get order value on completed checkout

I'm using drupal 6 and ubercart 6.x-2.9 I've created my own template for the checkout complete page, this is so I can install conversion tracking code from adwords. I'd like to pull the order value ...
0
votes
1answer
45 views

Send data with post to other drupal page not working

I'm trying to send data from a html form to another drupal page. The Form (in JavaScript): var data = { // JS Object with data to send priceUnit: '131.97', priceTotal: ...
0
votes
0answers
24 views

Node 'magically' changes

I manage a drupal 6.x site for someone, sometimes some weird content is posted which is a mixture between Dutch, English and vague words. E.g: Ik ARE-op zoek WHAT We delete these kinds of ...
0
votes
0answers
8 views

ubercart CA - possible to pass results from conditions to actions?

I try to create an ubercart conditional action. As a condition I execute custom php code with a database query. If the query has any results, the condition is true. Is it possible to pass results from ...
0
votes
0answers
26 views

rules action - send email - pass value from custom php to recipients form

I want to setup a rule, that would send an message to every order email that was picked by custom php code. The code is $result = db_query("SELECT order_email, created FROM {uc_orders} WHERE ...
0
votes
0answers
41 views

How to use query string (promo id) in my website's URL?

I have a website with one webform named RegistrationForm. I used this particular page as default front page, whenever user browse www.mysite.com/RegistrationForm it will go to my webform. I don't ...
0
votes
3answers
49 views

How to use checkbox under description of any webform field?

I am using webform module where I have a text field named Mobile Phone Number. I wanted to use checkbox under the text field as shown below: The content can be written in the description of that ...
0
votes
1answer
6 views

How to filter a view based on tags applied to

I'm working on an old (2009) Drupal 6 site that uses a custom module to add a field to the content creation pages for certain node types. That field lists a sub-set of the users of a certain user ...
0
votes
0answers
9 views

Drupal 6--Views and Nivo Slider

I have installed and configured Views and the Nivo Slider along with all of the required modules. I have saved the view as a "Block" and have activated it in the content header. I can see the ...
1
vote
1answer
86 views

Memcache not being cleared on cache flush [closed]

When clearing the cache, either through /admin_menu/flush-cache or drush cc all, the cache isn't cleared, without errors. I've tried doing it directly through telnet, on memcache, getting "OK" as ...
0
votes
0answers
17 views

Create a drupal 6 views slideshow from a single content type that has both, image and video fields

I need a little direction. I've created a content type that has both, images and videos attached to a node. I need to create a single frame slideshow that riffles through the mixed media. Currently, ...