Questions tagged [drupal-modules]

Drupal modules are add-ons for Drupal that allow you to extend, and customize Drupal functionality. Use this tag is for questions about available modules hosted on www.Drupal.org.

Examples of Drupal modules are Views, Token, CCK, and Pathauto.

The Project Usage Overview contains a complete list of all available modules for Drupal. This includes a ranking about the number of reported installs for each module.

Get access to all sorts of resources for any Drupal module via drupal.org.

2207 questions
5
votes
3 answers

How to manage a drupal website in git

I'm a bit lost, one of my developer co-worker is doing a drupal website, that is doing special pages, custom logos, custom hierarchy etc. His work is scattered in database tables (it looks like CCK create tables), database rows (texts, image links…
nraynaud
  • 4,924
  • 7
  • 39
  • 54
5
votes
5 answers

Module development tutorial in Drupal

I'd like to learn how to create modules in drupal- modules which can interact with the user, database, assign permissions, views. Is there any good video tutorial or a simple sample module which covers these things? Thanks.
jest
  • 699
  • 2
  • 12
  • 28
5
votes
2 answers

Exposing a module's data to Views2 using its API

I'm forking the filefield_stats module to provide it with the ability of exposing data into the Views module via the API. The filefield_stats schema is as follow: function filefield_stats_schema() { $schema['filefield_stats'] = array( 'fields'…
sepehr
  • 17,110
  • 7
  • 81
  • 119
5
votes
2 answers

Create a view that displays node count?

Having trouble in views creating what seems like a very simple query. Display the number (count) of nodes of a given type. I'm not finding the option in any obvious place... How to?
Michael D
  • 621
  • 1
  • 7
  • 23
5
votes
4 answers

ckeditor strips and style attributes

I have a Drupal 7 site using ckeditor 4.2. I've created a basic page node and put a span inside an h2 heading in the body. I hard coded it in the html view. It looks fine but if I go back to edit the page, my has gotten stipped out of the html and…
james
  • 707
  • 2
  • 6
  • 13
5
votes
1 answer

Theming Drupal 7's Ubercart "/cart" page

I'm trying to theme Drupal 7's Ubercart 3 /cart page, but I'm struggling to find the theming function to do so. I believe the right code may be located in template.tpl.php, but I am not sure. Where in Drupal is the code to theme this page?
PapaSmurf
  • 1,035
  • 2
  • 14
  • 26
5
votes
4 answers

Hide Webform Title in drupal 7

I have a Webform with various fields. At the time of display, title of the webform also displayed. I want to avoid that title. Is it possible to hide the title? Please help me... This is the webform I created. I want to hide the title 'Contact…
sjkon
  • 633
  • 2
  • 10
  • 24
5
votes
1 answer

Add allowed values list programmatically in drupal 7 CCK field "list_text"

I was wondering if i can create programmatically a CCK field instance and insert the "allowed_values" in a single stage. So i tried this: field_create_instance(array( 'field_name' => 'card number', 'entity_type' => 'payment_method', 'bundle'…
thandem
  • 175
  • 1
  • 2
  • 11
5
votes
1 answer

How can I set "is not equal current nid" filter in a view

I have a content type named announcements and I am displaying a view block of latest announcements in a content which is belongs to announcements content type. This block has three fields: Taxonomy term, Title and link. I have put following filters:…
5
votes
1 answer

drupal 7: Get user information on account creation

I am trying to create a module where the users creates his account and on submit, i get his information and insert them in a second database too. I mean that he will exist in both databases and in Drupals user table and in user table of the other…
JcDenton86
  • 933
  • 1
  • 12
  • 32
4
votes
2 answers

No data returned when SSL enabled for REST server in services module

I am running a LAMP stack on CentOS with Drupal 6 and the latest Services module. Over HTTP the REST server I have running works fine and behaves as expected. When I installed an SSL certificate I forced all port 80 traffic to 443 (SSL). This worked…
Graham Smith
  • 25,627
  • 10
  • 46
  • 69
4
votes
2 answers

how can i exclude one content type from drupal search

How can i exclude one content type from drupal search. I am using node_quick_find module also for autocomplete search. Is there any way to do the same. Please help me
user840298
4
votes
3 answers

Make content visible only to author in Drupal

I want to allow members of a Drupal website to upload their own content to the site (something like a blog post or questionnaire), but have it visible only to themselves (hidden from other members with the same role). The idea is to have them store…
4
votes
1 answer

How to override drupal view pager query?

I'm using drupal 6 and view 2 - I've created a custom filter for my view using this documentation http://www.chadcf.com/blog/creating-custom-filters-drupal-and-views. Every things seems to working fine only one problem - My pagination not working …
Vikas Naranje
  • 2,350
  • 5
  • 30
  • 40
4
votes
6 answers

Drupal 7 - query using BETWEEN not working

I have a query in Drupal 7 that is searching a custom table: $query5 = "SELECT COUNT(reservation_id) as rcount5, reservation_id FROM {reservations} WHERE resource_id = :resource_id AND reservation_date = :reservation_date AND start_time BETWEEN…
RayJamesFun
  • 223
  • 4
  • 11