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? ...
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? ...
what are ahe settings will be done after after copy the wibiya module into Drupal project ...
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 ...
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...
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...
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...
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...
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. ...
Hello, Can you recommend a drupal module that provides a syntax highlighting input filter? Good coverage of less known programming languages would be nice. ...
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...
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...
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...
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? ...
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 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. ...
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...
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 ...
Is there a contrib module or Drupal option to allow users download all attachments in one zip file? ...
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? ...
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...