drupal

Drupal6 views: output "taxonomy:all terms" field with two terms as two links

Briefly: I'm making a custom view, I want a field listing the two taxonomy terms associated with an NID to output as two distinct links which return arguments for the view (term1 to view/term1, term2 to view/term2. Rather, it outputs as one aggregated link (both term1 and term2 output view/term1%0Aterm2. Am I doing something wrong or i...

MySQL Watchdog warnings that disappear on flushing the cache

I get following type of warnings on my Drupal Site which usually disappear when I flush the cache "Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', Any idea why it happens and ho...

Drupal: upload multiple images for different nodes ?

hi, is there a way in Drupal to upload all images first and create multiple nodes from it, and then fill all the nodes with the remaining text areas ? In this way I don't have to upload the images one by one. Patrick ...

Drupal JSON Server and Services Module only returns Invalid Method.

I have been trying to get a stock Drupal site up and running with JSON Server module and Services. After install I added the two modules and enabled them. When I use Curl from the command line to call system.connect or anything I only get Invalid Method. curl --data method=system.connect http://localhost/services/json This is what I ...

Drupal.. images compression issue..

hi, for some reasons the images I upload to my Drupal website are downsampled. For example the image I'm uploading is 857x947 I've checked the following settings: - the size of the CCK ImageField: 420x840 - the size of image cache used to re-sample the image: 420x840 Image Toolkit: Compression: 100% I'm using cropping functionality....

drupal rebuild content access HTTP error 503 occurred

I have a multisite drupal installation with domain access module. Off late, I have started getting this warning 'need to build access permission'. Also, I went tried rebuild the access permission, I get 'An HTTP error 503 occurred. /batch?id=24&op=do' The solutions suggest that I disable the modules and rebuild the content access perm...

Drupal Webform email receipt

I'm trying to set up an email receipt to send to the user who fills out the form. I'm using Webform 6.x-3.1. On this help page for Webform "admin/help/webform" it hints at that function by stating this "Once finished adding fields, you may want to send e-mails to administrators or back to the user who filled out the form. Click on the Em...

How can I make a page created be editable only by user that created the page?

I have created 2 users. Page created by user1 shouldn't be editable by user2. Also in Administer->content section, each user can view only his own content. ...

Scaling MYSQL database for a multi site Drupal installation with 20,000 visitors per day

I have a multisite Drupal installation with about 20 urls pointing to the same code base and a common database. I have around 20,000 visitors visiting all sites daily which I hope would increase. I am using 2 servers currently- one being the webserver Apache 2 on Linux Platform and the other is the database server- MYSQL. Offlate my MY...

Drupal Multisite installation, old stories showing up

I have a multisite Drupal installation with about 20 urls pointing to the same code base and a common database. I have around 20,000 visitors visiting all sites daily which I hope would increase. I am using 2 servers currently- one being the webserver Apache 2 on Linux Platform and the other is the database server- MYSQL. Sometimes, my...

Creating Reports in Drupal based on webform data

Hello, Im using the webform module to generate a report based on data entered by a user in a webform. Im able to do that using the webform_report module (http://drupal.org/project/webform_report). But,i need the additional functionality of generating a report on a monthly,quarterly and yearly basis.Any way this can be done ? Please He...

In drupal how to add name textfield to simple news block

In drupal how to add name field to simple news block.If we install simple news module we can get a email field,radio buttons Subscribe Unsubscribe and save button .how can i add Name and text box ...

Including an external php file in a drupal block

Hello, I have added PHP code to a block in my Drupal site,by setting the input format to PHP Code. I would like to include an external php file in my code. Where should this file be placed, so that it would be available to all blocks ? Please help Thank You ...

How to customize content type forms depending on the access

Is there a way to customize a edit page form in Drupal depending on the menu link ? (or by passing additional parameters to the edit page url ? i.e. I have a children "Add new product" item in both menu items "Catalog1" and "Catalog2". I want to hide 2 different CCK fields in the product content type depending on which menu item has be...

Jquery JStree plugin form text field conflict

I have a set of custom PHP forms within a set of Drupal pages (not generated through Drupal forms API - I won't explain why I'm not just using Drupal for these forms here - a tad complicated) with text entry fields won't allow keyboard input - but will allow copy and paste. They populate correctly with default values, but just won't let ...

Drupal Views Relationships and Arguments

I have a Person content type. It has a node reference field of a company which is also a content type. I then have a content type called Project. A project has a node reference to a company content type. I want to list all the projects related to a person id (nid) If I abstract this away from views and Drupal and each content type had i...

Drupal /node redirect to <front> page

I am not using the /node page on my site. When I visit the /node I get the default drupal text. Welcome to your new Drupal website! Please follow these steps to set up and start using your website: Configure your websiteConfigure your website I wish to send /node to my page. How would I do this? ...

how to add arguments to menu links ?

I want to add some arguments to the links of my menu items For example I have a menu item with the following url as target: node/add/product&catalog=0 However it doesn't work because what I get is: node/add/product%2526catalog%3D0 How can I get rid of numeric codes and just display the url as it is ? thanks ...

How can I hide a specific child of a fieldset element ?

I need to hide only one of the 2 children of a fieldset element. I have an issue with the assigning the #type='hidden' value to 2 children elements of a fieldset. In other words I have: Array ( [4] => Array ( [#type] => hidden [#title] => Distribution Product [#default_value] => Array ...

Grant CCK Field edit rights to a user referenced from User Reference; Drupal

In Drupal I am trying to create a content node where the original author can upload an image and then 'challenge' another user to upload an image into that node as well. I can already grant the 2nd user access rights through CCK > User Reference > Node Access User Reference but I don't want that new user to be able to edit the whole node...