drupal-6

Drupal Message control?

Is there a module or a way to manage Drupal Message. I.e. THe message you see after creating content, e.g. "Car listing titled bla has been created". I want a central point to control these messages. Most of them I do not want to display. ...

How to change search tab titles with title callback and title arguments using hook_menu_alter()

I am trying to modify the displayed title of the realname and node search tabs under drupal search using hook_menu_alter in drupal 6. However I can't figure out how to use the title calback and title arguments for my purpose unlike simpler tabs the search tabs doesn't just have a title. function sn_misc_menu_alter(&$items) { // hide...

How to get support emails to thead properly with Drupal's Support Ticketing System module

I am using the Support Ticketing System module (6.x-1.x-dev) I have written a support request in the issues section for the module, but have not received any help yet. My post is here http://drupal.org/node/902262 I am having trouble getting newly received emails to match against existing tickets. This module has an option to "Thread e...

Drupal: what permission to assign to "files" folder

On the Drupal website is suggested to use 755 as permissions for the "Files" folder. However I sometimes had issues when uploading the website to a server with it, because the owner of the files was the ftp client and not drupal itself. Consequently, I've asked to some people and I've been told that assigning 777 to "only" the files fo...

drupal theming filter for a view

Hello, I am trying to change the theme for my exposed filters for a particular view by overriding the views-exposed-form.tpl.php. The problem I am having is that I cannot seem to get the naming convention of the view set up correctly - I have been trying to use views-exposed-form--viewname--displayname.tpl.php, but that is not being foun...

Is there an easy way to import Drupal Advance Forum to BuddyPress forum?

I want to migrate my Drupal community to Wordpress + Buddypress. After struggling for a while I was able import Drupal blog to Wordpress but I also want to import Drupal forum to BuddyPress forum. Is there any easy way for that? Thanks. ...

Apache Solr search index problem

Hello I have installed Apache Solr and run 2 times manually cron but I have a problem that 0% was sent to server: The search index is generated by running cron. 0% of the site content has been sent to the server. There are 2884 items left to send. Using schema.xml version: drupal-1.1 The server has a 2 min. delay before updates are pr...

Add Duration field to sort criteria programatically?

Can someone please tell me how to add duration(CCK field) to sort criteria of views programmatically because it is not listed there by default? ...

Drupal: "previous and next" links in each node ?

hi, I would like to add previous and next buttons to each node of my Drupal website. These links are supposed to point to the next node in the website content. How can I make it ? Thanks ...

Creating a frontpage teaser with one image and several items using nodequeue

I have used nodequeue in Drupal to create teasers on my frontpage. Each one contains an image and teaser text. What I want to do now is, assuming I have a nodequeue with several items in it, to create a teaser with one image and several linked titles alongside it (linked to the nodes in the nodequeue). How can I do that? ...

Problems fetching node content

Hi, I am writing a small custon page where I execute db query. It also retursn results. But not the node content. How do I load the node content? This is my current code: ` $result = db_query('SELECT node.nid AS nid, node.created AS node_created FROM dr_wiwe_node node INNER JOIN dr_wiwe_term_node term_node ON node.vid = term_nod...

Friendly URL in Drupal to a PDF that is buried deep in a module?

I have a PDF burried in a module (sites/all/modules/mymodule/pdf/userguide.pdf)....how do i make it a friendly url like (sitename.com/mymodule/userguide.pdf) ? ...

Problem while enabling CCK module

I am trying to enable CCK module and when I try to enable it, I get a white screen with this URL (http://localhost/?q=admin/build/modules/list/confirm). But CCK is not being enabled I dont know whats wrong. This is what I am doing before trying to enable CCK. I downloaded CCK, extracted it and put it in /sites/all/modules/ folder Go t...

How to create a Views style plugin for Drupal?

I'm trying to create a Views Style plugin for the Views module in Drupal. The aim on the style plugin is to render the view as a drop down (i.e. SELECT) box. I can't for the life of me find any decent or complete documentation on how to do this. I've looked at the source code of other Views Style plugins but that does not help. Does an...

how to insert multiple values in a single text field using autocomplete function in Drupal

Hi, I want to populate a text field using Drupal which allows multiple values using a "," as a separator. I wish to implement this functionality using autocomplete function of drupal... Eg: if in a text field I enter "J", it gives me several options starting with the letter "J" due to the autocomplete feature. After selecting that ...

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....

custom drupal search module's form losing all post data when submitted

I am modifying an already contributed drupal module (Inline Ajax Search) to handle searching of a specific content type with some search filters (i.e. when searching for help documentation, you filter out your search results by selecting for which product and version of the product you want help with). I have modified the module some w...