drupal-module

Drupal: How do I have a module enabled for one theme, but not another?

Hello all I have installed the LogoTool module, but I only want it enabled in the custom theme used for the front end site, not for the Garland theme used in the administrative back end. How do I do that? Best regards, Egil. ...

How to get a node location map within a node in Drupal?

I'd like to show node's location within a node (between other fields). Do You know any formatter CCK field other module-based solution for that? PS I know a semi-satisfactory solution that lets display the map above or below a node, but not in between other fields: to enable a node location block and place it close to the content....

Extending a module multiple times in Drupal

I created a nice extension for Drupal based on the webform module. Now, I need to implement different functionality that is also based on the webform module. What is the best way to do this? ...

Displaying User Relationships Module Blocks

I'm unable to display any of the User Relationships' auto-created blocks in any of my sidebars. I have tried enabling all modules and permissions I can think of, with no success. The block I'm most interested in is the block that would allow users to be invited to an existing relationship (e.g. Friend), but as I say this nor any of the o...

Relationships via Email Rather Than User List

I'm new at Drupal, so I may have missed a solution despite a lot of research: I want users to be able to invite non-users and other users into a named relationship they've set up (using e.g. the Friendlist or User Relationships module) using only email addresses and not the user list. I believe that invitations from both of those modules...

Why modules link is not coming on Administrator Main page?

I have added two modules in my drupal site called.... 1. me alias 2. Mime mail Whenever we add new modules to our site, it has links on admin page. but after activating modules, i can't see the links on admin page. but this happens only on server but on my localhost i can see the modules links on admin page. i have put screenshot o...

Drupal image management

Please suggest how should I approach these requirements. What ready-to-use solutions (modules) are best suited to achieve something like this: What I need is an image library that has searchable, tagged images that are already resized when we publish them. If the author searches the library and the image he needs isn’t there, he can upl...

How does one inject variables into page templates from a custom Drupal module?

We've created a custom module for organizing and publishing our newsletter content. The issue I'm running into now -- and I'm new to theming and Drupal module development, so it could just be a knowledge issue as opposed to a Drupal issue -- is how to get each newsletter themed. At this point the URL structure of our newsletter will be...

Drupal CCK - Unlimited fieldsets

In Drupal CCK it is possible to set the Number of Values to 'Unlimited,' so that the user can click 'Add Another' and a new field will pop up. Is this somehow possible with a group of CCK fields as well? I need to have a textbox and dropdown linked together, and have my users be able to add an unlimited amount to the content-type. I'v...

hook_form_alter not working

Hi, Im using drupal 6.16. The below code for hook_form_alter is not working. Im simply trying to change the 'Log In' to 'Sign In' on the submit button of the user login form <?php //$Id$ function helloworld_form_alter($form_id,&$form) { switch ($form_id) { case 'user_login_form': // Change 'Log in' to 'Sign in'. $for...

drupal_get_form is not passing along node array

I have not been able to get drupal_get_form to pass on the node data. Code snippets are below. The drupal_get_form documentation (api.drupal.org) states that it will pass on the extra parameters. I am basing the node data not being passed because (apparently) $node['language'] is not defined in hook_form which causes $form['qqq'] not t...

Drupal: how to make select list show taxonomy terms in hierarchy?

Hi. I have a block generated by Finder module (simple search mechanism). The block contains a form with select lists of various taxonomy dictionaries. Their order, however seems quite random (neither, alphabetical, nor chronological) and lists regions in such an order with no hierarchy: Italy, France, Poland, Benelux, ..., Upper Austria...

Drupal Private Publishing

Is there a way to have a content type that is only viewable to admins AND the person who created it, including comments? I feel like I know the answer to this but its escaping me. ...

How to use pathauto and transliteration modules together?

it might be obvious, but i couldn't find out how. ...

Drupal 6 - Including a module form in a view

I'm making use of the Favorites module, in order to allow my users to favorite nodes they like. Currently, I know that there is a block available for listing out the favorites, along with the 'Add to favorites' button at the top of this list. What I'd like to do is generate the form which includes the button, and include it within ea...

Where is Ubercart USPS Shipping module

I can't seem to find the Ubercart 2.x version of USPS Shipping module! This is the closest I could come, but I feel like I shouldn't be constructing the module from a source view. http://api.ubercart.org/api/file/ubercart/shipping/uc_usps/uc_usps.module/2/source There was a zip available here of a spin-off module... http://www.ubercart...

How to attach a site with its thumbnail to a Drupal node?

Do you have any Drupal module (or other solution) to implement a feature similiar to Facebook's Share a Link? To be precise: you paste a link site's preview is generated title short excerpt and a thumbnail of one of the site's images ...

Changes to the User Permissions Not saving

I am use drupal 6. it seems like permission page can not save too many settings. I have try to save permission setting, but it is just not saved into DB. I have found out this is due to "too many fields". (use content permission module). if i uncheck some fields, and then checking lesser fields, permission will be saved. for example, ...

jQuery update not replacing js files in Drupal 6.16.

Hi, I am using jquery update in drupal 6.16 along with a lot of other modules. I am trying to use jquery ui 1.7.2 to render tabs. But unfortunately they don't work properly since jquery update is not replacing the jquery file (jquery 1.3.2). I checked the version using $.fn.jquery (in firebug) and got 1.2.6 (not 1.3.2 as required) as t...

How can I handle parameterized queries in Drupal?

We have a client who is currently using Lotus Notes/Domino as their content management system and web server. For many reasons, we are recommending they sunset their Notes/Domino implementation and transition onto a more modern platform--such as Drupal. The client has several web applications which would be a natural fit for Drupal. How...