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)

1
vote
1answer
12 views

Port database queries from d6 to d7

I have inherited a drupal 6 site with some custom modules, all of which are making use of db_query() commands. Now I'm porting the site with all it's modules to drupal 7, and consequently have to ...
0
votes
1answer
10 views

Page View not showing on path'd page

I'm using Drupal 6 and I'm pretty sure I'm using Views 3. I created a page called All Events (alias: all-events) and created a view that displays as a page. Under Page Settings for the path option I ...
0
votes
0answers
19 views

Display a Quicktab content in Colorbox pop-up Drupal 6

I have a quick tab (Drupal 6) which contains three tabs. One of it has a table which is larger in size. Hence, when the third tab was clicked I need to show the third table as a Popup using Colorbox. ...
0
votes
1answer
15 views

Can I use www.example.com/node/123 as a canonical url?

We are sharing some of our content with partners and want to include a canonical reference to the pages on our drupal site. I like the idea of using www.example.com/node/$nid for the simplicity of ...
0
votes
0answers
7 views

Where to change the input query of uc_order table

I had a requirement of modifying the columns of uc_order table. But now, I'm unable to find the input query which running during the checkout process. If anyone knows from which file this input query ...
0
votes
1answer
14 views

Drupal 6 Pager not working

I am using pager_query and theme_pager function as below.But unfortunately the pager is not getting displayed.Please help. function advanced_product_search() { $output = ""; $sectors = ...
0
votes
1answer
15 views

Drush to get and print single node data in terminal?

I want to do a raw dump of a single node's data with Drush, for testing purposes and just to inspect a node fast. Similar to getting a variable with "drush vget". Here is a PHP equivalient: drush ...
0
votes
0answers
18 views

Get list of canonical urls?

I have a list of ~2500 pages that I need to get canonical urls for from an old D6 site. The site uses Path_Redirect. Using mysql queries I can get a list of nids for the pages I want, but I'm having ...
1
vote
4answers
58 views

Creating Tabs using Drupal?

I have been looking for a solution that allows me to add tabs to my website something similar to this page. So far I have been using HTML inside of ckeditor to write all my content. However, now I ...
0
votes
0answers
25 views

Fatal error: Maximum execution time of 240 seconds exceeded in sites/all/modules/memcache/memcache.inc on line 353

I am using multidomain site . After adding a new domain record, I was asked as follows: Content access permission needs to be rebuilt on this page. When I clicked on Rebuild Permissions button, the ...
0
votes
0answers
13 views

Database tables cck_scorm

I need some help aboute the database tables of cck_scorm module. Additional, where in the drupal site i could change these fields, like: whatgrade, updatefreq ..... Is there a document that I could ...
0
votes
0answers
24 views

Mixed POST and GET submission

I am building a page with a filtered table of data. I would like the filter to submit the date field information in the URL, while the op, form_build_id and the other Drupal internal fields are kept ...
0
votes
1answer
23 views

How disable creating new terms (tags)?

I am using drupal 6,How can I disable creating new terms during node submit? Is there any option to do this? I do not see it in vocabulary settings. I found, that Content taxonomy module have to do ...
0
votes
1answer
24 views

using hook_user() to capture user actions

I am trying to create a method to log the actions of users, specifically when they log in and out. I am using hook_user() method to do this. This is my code. function mymodule_user($op, &$edit, ...
0
votes
0answers
23 views

Print month calendar

In Drupal 6, I have a month calendar that needs to be printable. Is there anyway to do this?
2
votes
1answer
26 views

Is it possible to install new module without ftp in drupal 6?

I don't have the cpanel password of my hosting, I want to install new module through website. It's easy in D7, how can I do it in D6. Note: if you suggest any module, I can't install that too ...
0
votes
0answers
15 views

Moving from Drupal 6 to 7 - trailing slashes and content views

I have a site which I need to move from Drupal 6 to Drupal 7. I heard that Drupal 7 doesn't support trailing slashes (URLs like http://example.com/folder/) I also heard that to move the content I'll ...
-2
votes
1answer
58 views

Protocol Relative URLs in Drupal 6

I'm trying to avoid serving pages that load css and js resources through URLs that specify either http or https. Because Drupal is specifying http:// for the href for all the CSS and JS files. ...
1
vote
1answer
23 views

How to add html to the form?

I am creating a custom module. I have a form that I would like to add some HTML to, but I don't know what the best way to do this. In this example, I have a page with a textbox, dropdown list, and ...
0
votes
1answer
10 views

rules scheduler performance

I use drupal 6 with rules. I have more than 200 scheduled tasks (updating node's field)waiting to be executed at one time. Do I need to worry about server crash or is there some kind of queue ...
0
votes
1answer
28 views

How to create a new prebuilt list in webform?

First off, I'm a complete newbie to both PHP, and Drupal, so I expect the answer to be on par with "you forgot a semicolon, moron!" I'm attempting to define a new prebuilt list for our site, and even ...
0
votes
1answer
18 views

How can I hide the title in a custom page made with hook_menu?

I need to hide the title on a custom page created using hook_menu. I don't have a nid, so probably I can't use one of the existing modules to do that. function mymodule_menu() { $items['mypath'] = ...
0
votes
0answers
16 views

Filter nodes by 'content type' and 'taxonomy terms' simultaneously with Views in Drupal 6

Let me bring in some context: in my site I have several content types such as 'Pictures', 'Videos' and 'Documents'. Also I have a Taxonomy holding a hierarchy of terms representing the different ...
0
votes
0answers
8 views

Extending FeedAPI parser

Is there a way to extend the default parsers(or any) of the FeedAPI module? The parsers are implemented as separate modules (sub modules). So writing another parser is also a real headache (as ...
0
votes
1answer
10 views

Settings vs Code: Can I turn off Broadcast Message through settings?

I manage a Drupal Commons site (that relies heavily on OG). I've a request to turn off the ability to broadcast to groups. Is there a box that somewhere that I can un-check or is it better to use ...
-1
votes
1answer
15 views

How can I allow non admin users to edit the menu settings for a node?

How can I set a "Menu settings" field to be available to non admin roles in the permissions page? Here's an image to clarify what I am trying to allow select roles to edit when creating a new node of ...
0
votes
0answers
11 views

Instalment payments with ubercart

I'm building a student application on which we have the requirement that student can pay its fees via instalment.I have googled around the same but I does not found how to achieve it.Does there any ...
0
votes
0answers
5 views

D6: View events that repeat mothly

I'm using Drupal 6 and the Date Repeat module to successfully show repeating events at various frequencies, from monthly to weekly. I'd like the option to show events that repeat monthly, or events ...
0
votes
0answers
12 views

between operator not available

I use drupal 6 views 2. I can use between operator inside views filter for example on ubercart orders field, but it is not available to other fields like invoice number. Which is created basically ...
2
votes
1answer
18 views

Changing the $from email in D6 contact_mail_user_submit()

// Send the e-mail in the requested user language. drupal_mail('contact', 'user_mail', $to, user_preferred_language($account), $values, $**from**); I wish to change the $from email to ...
0
votes
1answer
12 views

Can't seem to edit page title in og/users/%/add_user

In our what should be titled "Add Users", both H1 and title both contain the value "Home". I have even tried to overide with another module's hook_menu_alter. function hook_menu_alter(&$items) { ...
0
votes
0answers
18 views

Drush site-upgrade target database

When using the drush site-upgrade (drush sup) to do a D6 to D7 upgrade, does the target database need to be pre-filled with D6 tables? Or can it be completely empty? Thanks
0
votes
0answers
13 views

theming ubercart checkout fields

I would like to add some extra html/text to one of delivery address fields - phone number. Wha twould be the best way of doing that? Would this code be of a ...
3
votes
1answer
80 views

Drush site-upgrade : “Unknown option: --uninstall”

I'm trying to upgrade a Drupal site from 6.34 to 7.x using Drush. When I run drush site-upgrade @alias, everything goes well until step 12-a where it ends up throwing this error : Unknown option: ...
0
votes
0answers
12 views

D7 version of theme not working as in D6

I am using the Sky theme in D6 and after upgrade (without any data, just a cck migrate of fields and D7 equivalent modules), I was expecting the SKy theme in D7 to be about the same as it looks in D6, ...
0
votes
1answer
17 views

How to specify the latest album in a images view?

I am using node galleries. I've created a view where I display all the images that are of type "gallery_image". The problem is, I need to now get it to only show me the values for a specific album, ...
0
votes
1answer
38 views

How do i add Meta Tags on panels page?

I want to generate meta tags on panels node pages. I am adding Meta tags using nodewords module, it works fine on other node pages except panels generated layout. Any workaround for this?
0
votes
0answers
26 views

Drupal migrating cck int_phone field (6 to 7)

I'm trying to migrate the phone field type ('int_phone') that are in CCK fields from drupal6 to drupal 7 using the CCK migrate tool but I continuously get this error, Error creating field ...
0
votes
0answers
12 views

Rebuild all Drupal 6 teasers

I need to regenerate (or rebuild) the node teasers for a Drupal 6 website. There are a couple of examples of how to to this at https://www.drupal.org/node/325832. The first example affects all nodes, ...
0
votes
1answer
22 views

Force authentication for specific IP range on IIS

I have a Drupal 6 installation as a corporate Intranet site. I would like to permit a set of IP ranges the ability to view the site anonymously, and anything that does not match that rule must ...
1
vote
2answers
66 views

D6->D7 after upgrade Search gives no results

I have upgraded a website from D6 -> D7 using Drush site-upgrade command. Using a bash script it takes a drush archive-dump of a D6 site, assures it's at the latest version of D6 and upgrades it to ...
0
votes
1answer
47 views

context block visibility - disable block for certain role

I use drupal 6. I want to show a block for all users (anonymous, authenticated, all roles) except role XY and some paths. I use context module where it is easy to set path rules. However, setting ...
0
votes
0answers
12 views

Showing alternative page for internal server error due to resource restriction on shared hosts

My Drupal site gets 500 internal server error when a lot of people access the site at the same time. Also occasionally when I run cron or DB maintenance module. It seems that this is because of the ...
0
votes
0answers
20 views

How to get term name using PHP code? Drupal [duplicate]

How to get term name using PHP code? <?php function get_tag_name($tid) { $query = db_select('taxonomy_term_data', 't'); $query ->condition('t.tid', ...
0
votes
1answer
114 views

Preventing users from registering with xxx@yyy format email address

Drupal seems to let users register with emails like xxx@yyy I heard that this kind of email address can exist. But I want users to register with only emails like xxx@yyy.zzz Is there any way to ...
0
votes
2answers
23 views

How to set body content using preprocess_node?

I need to alter the body html for a specific content type which will be processed by the Pagination module. I think preprocess_node will work, but I'm having trouble figuring out how to change the ...
2
votes
3answers
83 views

WSOD after PHP 5.3: Issue with call_user_func_array() in menu.inc

EDIT Nov 10: This has been solved by Letharion's suggestion to do a md5 file compare of my file with an original package file containing the function that was throwing the error. -- I was referred ...
0
votes
1answer
25 views

Unable to save textfield on node_save()

$fbuser = new stdClass(); $fbuser->first_name = 'abc'; $fbuser->last_name = 'cde'; $fbuser->location = 'Vas'; $fbuser->link = 'http://www.facebook.com'; ...
1
vote
1answer
67 views

Why my website is showing junk characters?

My Drupal 6 website is showing junk characters like: <�h�3�>�C�o�m�m�e�n�t�s�<�/�h�3�>� �<�t�a�b�l�e�>�<�t�r� �b�g�c�o�l�o�r�=�'�#�E�7�E�7�E�F�'�>�<�t�d�>�P�o�s�t�e�d� �O�n�:� ...
1
vote
1answer
42 views

How to backport db_merge() to drupal 6?

I am converting a module from drupal 7 to drupal 6. I have a query in drupal 7. The query contains function db_merge() db_merge('facebook_rules_user_tokens') ->key(array('uid' => ...