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
17 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
0answers
7 views

How to stop Internet Explorer (10 and 11) from using document standards mode 7? [closed]

I am using a plugin on one page in the Drupal site that requires IE11 or higher. However, while testing I discovered that no matter what page of the site I am on, Internet Explorer forces document ...
0
votes
1answer
15 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
12 views

Backup & Migrate : scheduled mail 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
40 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
36 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" ...
0
votes
1answer
29 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
25 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
30 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
15 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
10 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
16 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: ...
0
votes
1answer
52 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
28 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
49 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
19 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
48 views

Trying to create a module for image management

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

Drupal 6 Warning Error: 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
20 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
31 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
12 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
8 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
28 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 ...
3
votes
2answers
58 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 ...
0
votes
0answers
8 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
28 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
27 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
17 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', ...
1
vote
0answers
21 views

All URLs point to the front page

I've just copied a multisite installation from a production server where everything is working fine. I think I've got a configuration issue in my hands because content is present so the databases are ...
0
votes
1answer
30 views

How to migrate Ubercart Shop (drupal 6) to another CMS / Shop system as Commerce, Magento, etc? [closed]

How to migrate Ubercart Shop (drupal 6) to another CMS / Shop system as Commerce, Magento, etc... Is there any easy way to migrate a Drupal 6 Ubercart store to another CMS or shop system? What would ...
0
votes
1answer
33 views

login destination redirect to previous page adding #

The following code works for me to redirect the user back to the previous current page after he/she logs in. <?php print l(t('Please Log in'),'/user/login', array( 'attributes' => ...
0
votes
0answers
20 views

Create a view with nested relationships

I'm trying to create a view that uses a hierarchical set of multiple relationships. The parent > child relationships are as follows: Festival > Series > Events. All of these are nodes; taxonomies are ...
0
votes
1answer
28 views

How can I check if the current user is accessing his/her own user page?

I would like to print something in page-user.tpl.php only when the current user is accessing his own user page. (any URL starting with /user/%uid/ but when %uid/ is the user id of the current logged ...
0
votes
0answers
19 views

Not having the permission to update menu path

I was trying to modify the path of the navigation menu link already created via admin/build/menu-customize/navigation. I am getting the following error When i try to create the new menu also i am ...
0
votes
0answers
6 views

jquery_update Module crashes browser

In my D6 website i have installed the jQuery Update module. Sometimes (1/20 times aprox.) while doing a specific work, my browser crashes. This was tested already in Chrome, IE and Firefox. While ...
0
votes
1answer
12 views

node_object_prepare causes profile page for non-admin users

When I'm calling node_object_prepare in a module to create a user profile type node Drupal 6 kicks the user out unless they have admin permissions. How can I make node_object_prepare run regardless ...
0
votes
1answer
31 views

how to add multiple style values in attribute in drupal form

I have form element like as follows : $form['precio'] = array( '#type' => 'textfield', '#title' => t('Price'), '#default_value' => $precio, '#size' => 20, '#attributes' => ...
4
votes
2answers
40 views

After updating from drupal 6 to 7: No content types under node/add

I am updating a Drupal/Tripal site on a test system. When I try to add content after migrating core using /#overlay=node/add or /node/add I get: You have not created any content types yet. Go to the ...
2
votes
1answer
196 views

Where are permissions stored in DB?

I'm looking at the DB but can't find where the permissions are stored. On the Admin page the permissions can be saved at /admin/user/permissions But where this data is saved in the DB?
0
votes
0answers
10 views

ubercart checkout review panes ordering

Using drupal 6 and ubercart2. I would like to order rows on checkout/review page differently than default. I understand the table is created by this code ...
1
vote
2answers
45 views

Hide the title of a form element?

I'd like to use placeholders instead of labels for a form built with the form API. I can get placeholders working well with the Elements module, but now I want to hide the labels. If I just set ...