drupal-module

How do I run commands on the command line in a PHP Drupal module?

I'm writing an in-house module to generate a small LaTeX PDF. Within the module, how do I use PHP to utilize the command line? ...

how to use the wibiya module in Drupal

what are ahe settings will be done after after copy the wibiya module into Drupal project ...

drupal hook functions and their arguments

I'm reading through Pro Drupal development right now, and an example on page 82 uses the following function: function menufun_menu_link_alter(&$item, $menu){ if ($item['link_path'] == 'logout'){ $item['link_title'] = 'Sign off'; } } I understand that I can find out what parameters "hook_menu_link_alter" takes by looking ...

Get Drupal Paths During node 'insert' operation with Pathauto enabled?

I'm writing a module that interfaces with Google Base. It needs to insert a link to the page that the item is on, however, this item has no path until pathauto runs. How can I either make sure pathauto runs its hooks before my module does, or get the path that will result from pathauto?. The solution needs to be generic enough to wo...

Pushing/Migrating your local Drupal site to a live-site.

I have installed drupal on my localmachine(ubuntu, Xampp), at localhost. Path and Pathauto modules are active (a module to produce friendly URLs). Migrating/Pushing my local install to the www.mysite.com Exported SQL from phpMyadmin(localhost). Made a new DB at live site (I think a different name from the localhost-DB does not cre...

How can I rewrite a specific URL?

I want to rewrite the following urls: node/add node/edit etc To be something like - content/add - content/edit I also use the prepopulation model, and would love to able to rewrite this URL: node/add/single-gallery-image?edit[field_gallery_node_reference][0][nid]=48 To something like this: content/add/image?n=48 Is this po...

How do you write a Drupal module to access a .net web service

I'm a .net developer who needs to write a drupal module in php to access a .net web service. The php will have to do some local storage, I assume in the drupal data store. Can anyone recommend some good pointers on how to go about getting into drupal development? or suggest some good links on how to tackle the problem above? Thanks mu...

Reason to change the xml files in solr

For the installation of apache solr integration module in Drupal we need to install solr. The must do thing is we need to change the solr schema.xml and configure.xml files with the files in apache solr integration module. can any body explain the reason behind this change. ...

Drupal 6 module for program syntax higlighting

Hello, Can you recommend a drupal module that provides a syntax highlighting input filter? Good coverage of less known programming languages would be nice. ...

Drupal - Breadcrumb and 'In this section'

Hello, I have looked all over the Drupal site to find out how to view the breadcrumbs that the menu breadcrumb module installs, but no one else seems to be having the same problem as me, has any one come across the menu breadcrumb module in Drupal and knows how to use it? Also is there a solution in Drupal again couldn't find an answ...

Please Check For Idiocy: Customizing Taxonomy Term Page in Drupal

I've been trying to have my Drupal 6 module customize the way taxonomy term pages are displayed given certain conditions. This is easy to accomplish via themes, but there doesn't seem to be a straightforward way of accomplishing this via a module. After a good deal of trial, error and Googling, I've come up with the following way of acc...

Detect which other modules are enabled in a new Drupal module

I'm creating a Drupal module which doesn't necessarily depend on other modules, but could offer other options if, for example, the Path module is enabled. What I'd like to know, and can't seem to find by searching, is whether it is possible to detect which modules are currently enabled from another module so that that module can offer o...

Drupal mimemail problem

My drupal mimemail always adds a x- to our http:// on our images, thus killing them. I cannot figure out why this happens. Any suggestions? ...

Not getting the name module in Drupal

i am working on Drupal 6.14 and i am not able to get the name module. For this i downloaded name_registration.tar.gz but i got the error Access Denied. What do i do? ...

how do I extend a contributed module in drupal

How can I extend an existing module without modifying it? Actually its a contributed module, so I don't want to hack it. But I want to alter and add certain features to it. I'm new to drupal and as I read tutorials about it, I keep hearing one thing again and again - Don't hack the core... and I believe the same applies for modules too. ...

Drupal Taxonomy Module - Limiting the number of links that are displayed per tag

I've got a site with tags like robotics, programming, simulation, quizzes etc. and I want to limit the number of links being displayed for a certain tag to a number. For example if there are 20 nodes that actually have quizzes as a tag then only 10 nodes should b displayed that have quizzes as a tag and the rest of the nodes can be displ...

attach multiple images to a taxonomy term

I have installed "Taxonomy Image" module. but i can not find a way to attach multiple images to one taxonomy term my drupal version is 6 ...

Download attachments in one file

Is there a contrib module or Drupal option to allow users download all attachments in one zip file? ...

How does one create product collections in Ubercart?

I thought i could use the 'attributes' feature for this, but unfortunately the way it displays the cost for each item is too limiting. How do I group products together in ubercart (e.g. a group of glassware all by the same designer) with an option to purchase the entire collection or individual items? ...

Why is my Drupal web form not working with IE?

I have a web form (built by the Drupal web form module) on my site. After a user has completed the form and clicked submit button, it should redirect their browser to the web form node page (node/1028/done?sid=26). But it just did not work with all IE browsers. There was no JavaScript error shown in IE 8, but in IE 6 and IE 7 a script e...