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
7 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' => ...
2
votes
1answer
11 views

After updating to 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
189 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
4 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
31 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 ...
0
votes
0answers
14 views

Drupal SAML login redirect not working

I'm configuring SSO by SAML for Drupal, I tested the SP login through SimpleSAMLphp's panel and it works. I installed simplesamlphp_auth for drupal and enabled authentication via SimpleSAMLphp. When ...
0
votes
0answers
38 views

Send email to all users of a role except certain users?

I'd like to send an email to a users of a certain role. I've already did it with Rules module, but now I want to expand my rule and send email to only certain role's but to a specific users of that ...
0
votes
0answers
13 views

Searching is not done with use of 'Profile Search' module in drupal 6

I am using it in drupal 6 site. I have used Profile Search module for searching user's terms like user's first name, user's last name, but it is not give the searched value. What I have done is as ...
0
votes
1answer
16 views

What does the computed code do for a computed field in content type

I have content type field called 'field_p_bo' and it have the computed code as follows it causes some problem since it affect the saving of this content type , This code is there for some other ...
0
votes
0answers
12 views

inline video embeds have stopped working

I have admin access, trying to figure out what is happening on a Drupal 6 site from the admin panel without a lot of knowledge, but hopefully someone can help. I am vaguely familiar with Drupal ...
0
votes
1answer
26 views

Node Metatag data migration with the Migrate-Update\Drupal-Upgrade module

I ask this for freshmen like myself, and others, who want to make sure they are making the best migrate-update possible: I have created a local copy of a Drupal 7 site and have also created a ...
0
votes
0answers
7 views

Drupal 6 Views Autocomplete Filters : not working anymore with taxonomy

This does not work anymore - seems to relate to Views 2.18 last update. I tried to roll Views back to 2.16, but this is impossible, so I cannot confirm. 1) I have an autocomplete filter for terms of ...
0
votes
1answer
14 views

how to set cron correctly on a shared server

I set the following command for cron on a shared server. /usr/bin/php5.3 home/public_html/cron.php (All the Drupal files are under /public_html) This commend seems to be working but I get the ...
0
votes
0answers
44 views

How to change a content´s workflow state from an url

I have a server installed with apache2 and drupal 6. In my server, users can make some type of new contents. When they make a new content, they receive an e-mail with creation confirmation. I´d like ...
0
votes
0answers
44 views

How to change search results theme?

I have a website that I need to add search functionality to. First though, we are running Drupal 6 with multiple sites each with its own theme. Content goes to its respective site by URL and the ...
0
votes
0answers
3 views

How to choose display views with viewreference for webform?

I'm using this module to use views list in a select webform component but I would to know if it's possible to choose witch display to use because it seem to get the first one in a multi display view. ...
0
votes
1answer
22 views

Content type select field is not listing in front end

I created a content type field called which have widget type select list But its not displaying the field in frontend. When I changed the widget type to the text field it displays the field in ...
0
votes
2answers
20 views

Know field type usage

I need to know if a field type is used on a website in a content type. How can I know that with Drush or Drupal BO?
0
votes
0answers
19 views

Difference between “Completed” and “Payment Received”

http://screencast.com/t/Czh8fvlCC I noticed after I changed servers from Rackspace to Pantheon all the orders have been Payment Received instead of checkout completed. It may be a coincidence because ...
0
votes
0answers
12 views

check if discount is already loaded

I use drupal 6 and upercart discounts alt. Is it possible to check if certain discount is already loaded? According to readme.txt I can hook to discounts while they are being loaded/saved/deleted. Not ...
0
votes
0answers
14 views

Computed field element is not displaying

I created a new computed field from editing a content type , I given the permission too to view and edit the field (say field_p_so). But I cant view that field in front end . But if the newly created ...
0
votes
0answers
32 views

Cloning the request when taking preview of a node

I have a weird issue in Drupal 6 that when taking the preview of a node, it's cloning and make another node type with exact same details. Any idea why this happens? I guess the below code is ...
0
votes
2answers
36 views

What does drupal_clone($node) do

What does drupal_clone($node) do in Drupal? Will it clone a node? I know the node will be saved only if node_save($clone) is rendered. So what will happen when drupal_clone($node) is rendered ? /** ...
0
votes
0answers
9 views

reinit colorbox after ajax call

I know that if links are rebuild after ajax call, we need to reinitialize colorbox. I am loading links inside colorbox using colorbox-load ...
0
votes
0answers
32 views

Synchronizing D6 & D8 user data

We're beginning an effort to migrate from D6 to D8. Since the application being migrated is large, complex, and mission-critical; our plan is to port over and deploy small bits of functionality to D8 ...
0
votes
0answers
8 views

get nid on ajax loaded content

I am loading a popup window using ajax from node page. The popup consists of various views displays. Is it possible to get nid of the original node inside the content loaded with ajax? I tried to ...
0
votes
1answer
10 views

How to debug what module/process is requesting a file?

I moved my drupal 6 site to server with php 5.5 and the site started to throw not found error - sites/all/libraries/jquery.ui/themes/base/jquery-ui.css on every page. I have not installed any new ...
4
votes
1answer
52 views

How do I pass a variable via drupal_goto()?

So I have a function having http://link/to/$id as destination link. It works when I use <a href="?q=mymodule/option/$id">Targeted</a>. But I need to change it to submit form because I ...
0
votes
0answers
30 views

views rewrite multiple values field to have replacement pattern

I am trying to rewrite a field of path using drupal 6 views, using this pattern : http://domain.com/[field_pvt_dl_fid] its a multiple field, and its only showing : ...
0
votes
1answer
28 views

How to change block visibility/pages in hook_block in my module?

I implement mymodule_block and for case 'list' I have blocks like: $blocks[CN_BLOCK_RHM_BUTTONS] = array( 'info' => t("Block name"), 'status' => 1, // on by default ...
1
vote
0answers
18 views

Adding SUM per node ID to Views in Drupal 6

I have a list of IDs, and these IDs have several amounts associated with them. I need to sum the amounts per ID, and spit that out as the amount. Here's my query alter: function ...
0
votes
1answer
19 views

creating “live search” from database text field in Profile Content field Drupal 6

I'm new to Drupal development. I have inherited a Drupal 6 site. I would like to add to the content-profile fields a "live search" text field that will give the user options from a database based on ...
0
votes
2answers
21 views

Possible to change cron link?

I use D6. Cron run often by some bots visiting example.com/cron.php Is it possible to change it somehow? Or restrict? I would like to prevent anonymous users to hit the script.I want to be able to run ...
0
votes
2answers
68 views

How to make views display to using in a gallery?

My question is generic because the solution will allow me to use various jquery gallery as bxslider, galleria or flexslider. My need is about creating a gallery with thumbnail nav, for that I need to ...
0
votes
0answers
8 views

How to make post new thread link with forum number

Hi I need to make a post new thread link with forum number on forum pages so the right forum is preselected in the dropdown on node add page, but I don't know how to print forum number ...
0
votes
0answers
17 views

How to create 'data-thumb' attribute with views in drupal 6?

I need to use Flexslider with drupal 6 ( so no module available) and i would to use the Thumbnail ControlNav Pattern of this. Actually i create the gallery with views (html list display style) and I ...
0
votes
1answer
69 views

How do I load external JavaScript before local JavaScript?

I try to load JavaScript with drupal_add_js(), but it's not easy, and after fixing the loading of external JavaScript, I faced off a loading order issue: My external JavaScript is loaded after my ...
0
votes
0answers
24 views

Invalid RSS feed causes XML parsing error

After reviewing some fix to this issue I wonder how I can find the gilt in this RSS feed issue. Actually I get the classic error: XML parsing error: <unknown>:2:0: XML or text declaration not ...
0
votes
1answer
26 views

How drupal keeps revisions for some content types only

In Drupal 6 for some content types when editing a node its replicated and keeps revisions for that content type by keeping vid (version id) for that in the table, But for some other content types it ...
0
votes
1answer
45 views

How variable_get and variable_set works in drupal [duplicate]

How do variables work? Is it as simple as using variable_set('myvar', 'my_value'); to set, and variable_get('myvar'); to retrieve? Additionally, where are these variables stored, and do they ...
0
votes
0answers
26 views

6 - How do you disable revisioning for a content type?

We have some content types whose revisioning is using a great deal of CPU time. Plenty of these do not need to be revisioned and we want to disable it for those; other types do require it, so we can't ...
0
votes
3answers
46 views

Passing global variables to alter hooks

The problem I have is that it seems that I can use global variable created inside another module, only if I use it inside callback function. I successfully tested it by inserting code inside existing ...
1
vote
0answers
23 views

Why is the global variable not picked up inside alter function? [closed]

Using drupal 6, I am hiding checkout panes based on order total amount. I could not find a way how to use the value inside my module, so I declared it as global inside module where the amount was ...
0
votes
1answer
27 views

Theming Site off-line page

Is there any way to theme or override the Site off-line page? The page with below massage: The site is currently not available due to technical problems. Please try again later. Thank you for ...
1
vote
2answers
198 views

Will upgrading PHP version affect my current site that running Drupal 6?

I am going to test Drupal 8 RC, unfortunately my PHP version is too old. It's asking for upgrade the version higher than PHP 5.5.9. If I upgrade it to PHP 5.5.9 or latest version PHP 5.6.14, will it ...
1
vote
0answers
50 views

Where can I download the WURFL.xml file? [closed]

I want to make my Drupal 6 responsive to mobile. In WURFL configuration, it shows the message: The WURFL library is successfully installed in sites/all/libraries/wurfl-php-1.3.1 The WURFL device ...
0
votes
0answers
33 views

Create a dynamic view for years

I need to create a view which provide a list of past years, where I could define the past time duration, like display the past 10 years. Which kind of field do I use?
1
vote
0answers
21 views

Drupal 6 tableselect - Retain checkbox values across pagination

In Drupal 6, I am using tableselect theme with PagerSelect to generate table with checkboxes and pagination. Any thoughts on how to retain checkbox values on pagination? Because in the first page , i ...
0
votes
0answers
8 views

How do you find out what module generates some output when running cron.php?

So... I have one website which somehow now generates two empty lines (something like echo "\n\n";) when cron.php is run: wget http://www.example.com/cron.php Output is a cron.php file with "\n\n" ...
0
votes
1answer
21 views

Is it possible to redirect users when page caching is enabled?

I use simple redirect user inside template.php with the following code: if ( isset($_GET['abc']) && $_GET['abc'] == 1 ) { drupal_goto('mypage'); } Is it possible to redirect to the page ...