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

all page requests loop back to front page [duplicate]

Moved working drupal 6.38 site to another host server. Set all permissions and settings.php as from working site. MariaDB grants are the same. Front page of site displays, but when attempt to go ...
0
votes
1answer
20 views

Block not showing on page

I have a weird issue with a D6 site... A block I've created will not show up on the page. It appears to be disabled in the blocks list, although other blocks that /are/ showing up seem to be disabled ...
0
votes
0answers
26 views

How do I create a PHP page?

I need to create a web page in Drupal 6. The site has multiple PHP pages under different themes. For example, inside opt/mycompanyWeb/web/sites/all/themes/custom/MyCompanyInterior there are a bunch of ...
0
votes
1answer
24 views

Associate one item of content with one taxonomy term

I have a view of type 'term' that displays in a grid, all the terms in a vocabulary. I need to display 2 images per term, but this is not possible I believe. (E.g. the taxonomy Image module only ...
0
votes
1answer
25 views

Exit pop up with registration form

I want to have anonymous users to have a pop up displayed after they visit first page and moving to second page. The pop up should have a Name and email and after submission user gets registered to ...
1
vote
1answer
27 views

How do I produce 2 lists with one display?

I'm back on this issue for me because I would to implement Responsive slideshows with thumbnails and many of those use 2 elements to display thumbs and full image. So I know I need to edit the style ...
1
vote
1answer
21 views

Change ID of webform hidden element

How can I change the ID of a hidden element (created with the Drupal 6 webform module) using hook_form_alter()? The ID that it outputs is something like '#edit-submitted-component-name'. I need the ...
0
votes
0answers
23 views

Tweetbutton module tweet icon no longer included inside links in d7

In d6, the code in the hook_link function of the tweetbutton module to handle including the tweet icon in the links was: function tweetbutton_link($entity_type, $entity, $teaser = FALSE) { $...
0
votes
0answers
14 views

How should I set OR operators between filters?

I'm maintaining a legacy Drupal 6 site that is running Views 2. I'm building a view that displays content of three different types. One (and only one) of these three content types has a checkbox field,...
1
vote
1answer
27 views

How to edit CCK form?

How I change node edit form, which created by CCK module? Now if the form is submitted, CCK update some field in mysql database. I need to change this, because in one form input contains three ...
1
vote
1answer
41 views

How do I find a template?

How I determine which template or form is responsible for processing node of page with this URL: mysite.com/node/node-number/edit ? I think, that Drupal find the template of edit in this files: page-...
1
vote
0answers
14 views

Search result problem with Taxonomy Term-Names in the result

I need a solution for following Drupal 6 problem: In my search results, taxonomy terms are appearing in the summary -> https://www.dropbox.com/s/reg4yebpuwvgref/Screenshot%202016-06-03%2009.13.47.png?...
1
vote
1answer
74 views

List of nodes that have no taxonomy terms

I'm maintaining a D6 project, where the customer wants to see a list of nodes where no taxonomy terms were added. I want to solve this with views. I already tried some Filter settings for that, but ...
1
vote
1answer
44 views

Database in settings.php doesn't exist yet site is live. Where is the data?

I've inherited a Drupal 6 site running on an Ubuntu 10.04.4 LTS server. I'm trying to understand the configuration of it to create a local version of it work on. I can't figure out how the data is ...
1
vote
0answers
20 views

How to render form elements using form alter

I need to render contact form field elements using form_alter function. When I print $content variable in tpl file, the contact form loads entirely, instead of that I need to render fields separately ...
0
votes
1answer
18 views

warning message after uprgraded to drupal 6.38

I upgraded drupal 6.2 to drupal 6.38 to apply the security patch to ignore the vulnerabilities as mentioned in https://www.drupal.org/drupal-6.38-release-notes . But after updating to 6.38 when i ...
0
votes
0answers
16 views

Backup & Migrate : scheduled mail not sending and PHP version?

until I change the server PHP version to 5.5 from 5.3, scheduled mail backup did work.. since, I don't receive any mail for my backups, this happen on my 8 Drupal 6 sites.. is it possible PHP version ...
0
votes
1answer
41 views

Create dynamic textfield?

I have a form builder containing the following code. $form['finput']['noreff1'] = array( '#type' => 'textfield', '#title' => t('No Reff1'), '#size' => 60, '#default_value' => $...
0
votes
0answers
45 views

How do I change a form name attribute to something else?

I'm using a Drupal 6 custom form, and I want to change the form name attribute to something else. Is this possible? For example, I have this. <input type="text" name="field" maxlength="128" id="...
0
votes
1answer
31 views

How do I adjust the 'Create New Account' settings?

New registrations are asked to create a password which is, in my opinion, excessively strong. Where do I go to adjust the password strength and other 'new account' settings? When I looked in the ...
0
votes
1answer
28 views

How to use titles instead of IDs in urls for nodes?

I am managing a site right now (Drupal 6) and the links are all coming out in the form http://example.com/blog/12553. I'd like these urls to be based on the name of the article. I could swear that ...
0
votes
2answers
31 views

hook_block visibility

I have a custom module defining a block which needs some complex page visibility rules that I'll write later. In building out the basic hook_block code the visibility and pages settings don't seem to ...
0
votes
0answers
16 views

Empty Views with content imported by Feeds CSV

I import content in D6 with Feeds (+Tamper) module via a CSV file and it work great. But after I want to display a list of nodes freshly created and the views doesn't display news nodes... :/ What is ...
0
votes
0answers
11 views

Send email after the order has been completed

With drupal 6 ubercart 2 I am experiencing a problem with slow order processing on order confirmation page. After user confirms the order, sometimes the confirmation page opens fast, sometimes it ...
0
votes
0answers
36 views

How to set readonly or locked a select webform field?

I would to lock a prefilled select webform field but no option is provided by the UI.So I think to do that programmatically. Actually I do in a hook_form_alter: $form['submitted']['...
0
votes
1answer
104 views

Decryption failed because the HMAC could not be validated - error on Migration d2d dashboard page

I'm trying to migrate Drupal 6 to Drupal 7 with Migrate d2d module. Problem is that I get 2 errors on Migrate dashboard page: Decryption failed because the HMAC could not be validated. Migration ...
0
votes
0answers
13 views

Disappearing content and broken links

Content on my Drupal 6 website has started to disappear and I'm trying to find the cause. News teasers that link to the full article are displayed fine with title and summary, however the link to the ...
0
votes
0answers
16 views

How to provide a select list item to cck field?

Like it's possible for webform to do that with hook_webform_select_options_info(). How can I do that for a cck field in a content type ? what about an example with the hook_form_alter way ? thanks
0
votes
1answer
36 views

Content Migrate throwing `MediaInternetNoHandlerException` errors for embedded video fields

I am getting the following error on multiple nodes when using the content migrate module on a Drupal 6 to 7 upgrade. Requesting rollback of field "field_video" due to failure to convert record:array (...
0
votes
3answers
66 views

Solve “Cron run failed” without Watchdog

Some years ago i wanted to turn off watchdog because it's memory and db consumption, but today i need info about why my cron isn't running because need to use Search module from now? Trying to run ...
0
votes
0answers
23 views

Push node programmatically using webform for two different databases

I have an idea to create a node using webform. I've got webform at site1, where I have fields "title" and "body" which are present in two node structures at two different websites. The one is powered ...
1
vote
0answers
51 views

Trying to create a module for image management [closed]

I would like to create an image manager for a running Drupal website. This page should be able to add and remove the images with its name and other attributes. How could I achieve this using Drupal ...
-1
votes
1answer
42 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback [closed]

I have two custom modules: 1. oldmpp 2. newmpp (copying from oldmpp but modifying some parts). This method works for my other custom modules. But this time, it gave me this error: warning: ...
1
vote
0answers
21 views

How to find and remove a cached image?

I have an image with url like: http://example.com/index.php?q=sites/default/files/imagecache/node-gallery-display/123.JPG I want to remove this image but don't know where it stored in database. ...
1
vote
0answers
11 views

How to make node view show approved, not latest

I've got a client with an old Drupal 6 site that uses workflow and revisions. They want a blog added with related content types and Views. All works except that for the node page itself, it shows the ...
1
vote
2answers
38 views

settings.php not in expected location(s)

We are trying to change the database settings for a long-standing drupal 6 site, but are having trouble finding the correct settings.php file: $ cd /var/www/vhosts/mysite $ find sites/ -name "...
1
vote
0answers
13 views

Flicker slideshow on d6

How do I add flicker photo album on D6 via "insert/ embedded Media" button? I don't know which links to copy on the fields: (general + advanced)
0
votes
0answers
27 views

User registration mail sent after 3 hours

In my Drupal 6 website, when a user registers, he gets the email of registration with an activation link after 3 hours. I checked there is no setting as to 3 hours for this email. Moreover, after ...
0
votes
1answer
15 views

Exporting Blocks from Drupal 6 to 7

Can anyone tell me the best way to export blocks from Drupal 6 to 7? Boxes? Features? A Straight field for filed export?
0
votes
0answers
13 views

editing user menu items

Where can I find these menu links in user account profile settings in Drupal 6 I'd like to change path in some of them but I seem that cannot find their path. Example : I'd like that Edit points ...
0
votes
0answers
10 views

How can I move CCK filefield content to another one?

I'm converting multiple contents types in another only one. So I use the convert module to do so.But some CCK filefield are not the same has the one used in the new content (which use existing fields ...
0
votes
1answer
31 views

How can I check the user status of node author in Rules condition?

I set Content is going to be saved for Rules Event. And then the following code in Execute custom PHP code for Rules condition. But it seems to return always TRUE no matter if the user account of ...
4
votes
2answers
72 views

How to update a Drupal 6 website to latest release with drush?

I want to update my Drupal 6 website (version 6.36) to the latest realease (6.38). When i'm using the shell-command "drush update drupal", i'm getting following result: Drupal 6....
0
votes
0answers
9 views

Global search results not displaying multiple items in drupal 6

By default the search module only displays only one or two result only when do the global search .But infact there are multiple results . How can i modify the search query or any other workaround such ...
0
votes
0answers
14 views

Best way to export content type of 'type: Panel' from 6 -> 7?

I have a content type of 'Homepage' which is of type: Panel. So my question is how do I reproduce this content type in 7 or how do I create a content type of type: panel as shown in the image?
1
vote
0answers
30 views

Adding content with existing installed module

I have uploaded a Flipbook module designed for Drupal, and activated the module but can't find anywhere how I can insert that module (flipbook) content into a page. It would be a simple shortcode ...
0
votes
0answers
21 views

Upgrade from Drupal 6 to Drupal 7

I am upgrading my site from Drupal 6 to 7. Core has been updated fine. Now, I am facing issues with Views. The created blocks and pages are displaying empty with a fatal error in view's theme.inc. . ...
0
votes
1answer
29 views

Cache error message

My Drupal 6 website has been working fine for many months. All of a sudden, it displays the following error messages: Warning: Can't find record in 'cache' query: SELECT data, created, headers, ...
0
votes
1answer
21 views

Drupal 6 to Drupal 7 content type migration using feature module?

We have to upgrade Drupal 6 site to Drupal 7. We know that we can use migrate module for importing Drupal 6 content. But I'd like to know if we can use Features module for importing content types, ...
0
votes
0answers
14 views

How can i add sorting facility to headers in drupal table

I build the html table as follows . How can i add sorting facility without using any other plugins ? db_set_active('drupal'); $show_count = 10; $order = ''; $header = array('Node ID', '...