drupal

How to get all paths in drupal install

Hi, I need to write a module that gives me a page will all possible paths in a drupal install, including orphaned pages. (site map won't work for that). I can query the url_alias table for aliases, and I can query the menu_router table for all paths, even ones set in page/feed displays in views. But, variable paths (those with arguments...

Require anonymous user to register to add content-type

How can I create a form that requires anonymous viewers to register in order to view it? Right now, I've created a content-type (Submit Plan) which is a primary link available to everyone (anonymous + authenticated). I've restricted 'view' user permissions to anonymous users but they can still see the 'Title' input (I don't want that). ...

DRUPAL, Views: exposed filter.. how can I unselect all tags ?

hi, I'm using Drupal, Views, tag exposed filter and I would like to allow my customer to select the default tags from back-end. However when he selects some tags is not possible anymore to unselect all of them. See initial picture: http://dl.dropbox.com/u/72686/Picture%201.png Now all the tags are unselected, but if I select just one ...

Checking Drupal authentication from external PHP

This may well be simple, but I'm new to Drupal. The organization I work for switched to Drupal a little while ago, but there's still some legacy code in various external PHP files that would be cumbersome to convert over to work within Drupal. However, it would be very nice to be able to restrict access to some of these pages based on a...

show share this link in drupal

I would like to show share this widget in all my webpages in my drupal site right below the title. Can you tell me which file i should edit? I tried the addthis module. no Luck :( it gives javascript error when implemented. -Vivek ...

How do I move the tag section below the content in Drupal 6?

I have enabled taxonomies in the form of Tag, and I would like the tag field to show up below the content when users are editing the page. Where would I make that setting change? ...

DRUPAL: tags for CCK fields ?

hi, can I add tags to specific CCK Fields such as FileField, ImageFIeld or VideoField ? And successively filter them according to the tag ? thanks ...

DRUPAL: adding CCK image fields to other CCK fields

hi, can I add a CCK image field to another CCK field ? I would like to add icons for each item i add. At the moment I can only write the description. This would be very cool functionality! ...

Ubercart add to cart trigger?

I want to keep track of all items added to uber cart. I.e. Whenever someone clicks ADD TO CART, I want to: create a database entry of the time and item added. This way I can see which items are most clicked on. The logic to add it to a db etc is easy to do. What I need to know is, how do I plug into the "add to cart" part. I.e. How do ...

Drupal - Private Content Type without URL access

Hi Guys, i created an additional content type called "clients" where I can create new client records. I mostly reference to this type to retrieve data. Now I'd like to make this content type inaccessible from the outside world. Any idea how that works? Thanks in advance! ...

Drupal location autosuggest doesn't recognize provinces

I am using Drupal Location module in CCK to retreive longitude & latitude based on location (stree/city/state). There is an automatic autosuggest for State, but unfortunately recognizes only US states. I set default country to Canada, but autosuggest still only recognized US states. Is there a way to get autosuggest function to recog...

Drupal: How to theme a module

Hi Guys, I'm trying to theme a modules output. In particular i'm working on http://drupal.org/project/service_links Any idea how that works? Thanks in advance! ...

how to add additional message in a Drupal form

I would like to additional instructions to a custom Drupal form, similar to hook_help, but at the bottom of the form. Is there a function or hook available for this? ...

Drupal: installing it in a subfolder...

hi, this is a question about drupal installation on server. I usually upload my drupal into a subfolder "drupal" and I ask my customers to check the website in such subfolders until when it is ready. Then I asl to change the default folder in Apache to the "drupal" one. Sometimes my customer cannot change Apache configuration, so I wa...

drupal rpx module openid

Hi, I have installed rpx module in drupal 6 . it is working for gmail, yahoo only . not working for open id login as well as aol login. Please any one help . with this issue ...

DRUPAL: customize CCK fields order for a subset of nodes (belonging to the same content type)

I'm using a Drupal content type for all my nodes. I was wondering if I can drag and drop (or just change the order of the CCK fields for some projects without having to create a new content type for the different projects. For example, my customer would like to swap a CCK Image_field with a CCK Text_area for some particular projects. I...

can I duplicate my nodes in Drupal ? (to later slightly change them)

can I duplicate my nodes in Drupal ? (to later slightly change them) My customer needs to add several nodes with same content (except for one image) and he would prefer to not have to fill the same content multiple times for each similar node. thanks ...

DRUPAL: replace tags with icons

hi, is there any plugin for Drupal, replacing tags with small icons (see the picture below, the icons are actually small circles, and the different colors are automatically generated. I need to replace the tags with the circles, for each node, and the starting view. Furthermore, when the mouse move over the tags, the tag title should ...

Mixing Static Strings with Views Arguments

Hi. Can anyone tell me if it is possible to mix views arguments with static strings? For example in the path section of a view feed display I need: /mypath/%.xml with the ".xml" part being the static string. Thanks in advance. ...

Drupal: How long should it take to rebuild permissions

I have just installed the ACL and Content Access module. Imedietly after enabling them I was asked to rebuild the permissions. All perfectly normal I am told. However, I set the 'rebuild' permissions page running about 40 minutes ago and it still says 'Initializing'. How long should it take? Am I doing something wrong? ...