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
4
votes
2 answers

Drupal 7 redirect to a specific page (a tab) after form submit

I'm trying to redirect the page after i submited the form. The form is at the page 'formulaires/demande-de-subvention-pour-les-entraineurs' and i want to redirect to 'formulaires/demande-de-subvention-pour-les-entraineurs/entraineurs' How can i…
Mike Boutin
  • 5,297
  • 12
  • 38
  • 65
4
votes
1 answer

Install superfish menu in drupal 7

I need to use superfish in my site built upon Drupal 7, I installed libraries and superfish modules and enabled them. Also I installed superfish library and everything went OK. Also, I have added a new region named "superfish_menu" into…
Ayman Hussein
  • 3,817
  • 7
  • 28
  • 48
4
votes
1 answer

Drupal 7 db_select nested select query

How to convert nested select queries to Drual 7 db_select? Following is the problem query: select * from tbl_word where EngWord like '%apple%' or WordID in ( select WordID from …
Cyber
  • 43
  • 1
  • 3
4
votes
1 answer

drupal 7: mail does sent but body and subject are empty

I am trying sending email with Drupal 7. The email is sent to my email account but somehow the body and subject is empty. Please help me to explain why. Thank you very much. Below is my code: This is the form function…
thelinh bui
  • 226
  • 6
  • 14
4
votes
1 answer

Making the webform submission results as a link in Drupal 6?

I am a newbie in using Drupal 6 and I am still walking in the dark in terms of module familiarization and module configurations. Lately, I installed the Webform module for my site to be able to let users submit a request. In my Webform, there is a…
Tsukimoto Mitsumasa
  • 541
  • 4
  • 19
  • 42
4
votes
2 answers

How to create a form inside a drupal module?

I was searching online for a tutorial to create a form which is displyaed on a page, Shall we display a form inside a module as we display content using module and block? Since I am new to drupal I do not have an idea about drupal form. I…
Varada
  • 16,026
  • 13
  • 48
  • 69
3
votes
3 answers

How to place markup after the submit button in drupal 7?

goal : I want to place a text after the submit button using hook_form_alter. Below is my code but if I use the weight key in the array then its postion does move in the form but not below the submit/save button. What can I do for it to go below the…
Vishal Khialani
  • 2,557
  • 6
  • 38
  • 49
3
votes
1 answer

Prevent CKEditor from fixing/correcting (invalid) HTML code

I have recently upgraded FCKEditor to the CKEditor module on a website powered by Drupal 6. Some of the pages on the website have invalid (x)HTML, mainly block elements inside inline elements. Before anyone edits the page, the content is rendered…
P3tro
  • 139
  • 1
  • 3
  • 9
3
votes
2 answers

Drupal only display certain content based on location

I need to be able to only display certain content/nodes based on where a user is located in the world. For example, if the user is from the US, they should see different results than someone from Europe. Ideally I would be able to tag each node with…
betamax
  • 13,431
  • 9
  • 38
  • 55
3
votes
2 answers

simple example form in drupal 7 with everything configured correctly shows "Page not found"..Why..?

I have installed drupal 7 and have been trying to create a custom form. The below code which am trying has been taken from http://drupal.org/node/717722 and I have not made any changes except for .info file. here is the my_module.info name = My…
akshaynhegde
  • 1,938
  • 3
  • 17
  • 36
3
votes
1 answer

How do you export Drupal books to PDF?

I want to create a book using the Drupal book module and then export that entire book as a single PDF (all individual nodes merged into a single document). I want to have control of the formatting of that document. I also want the ability to have…
Peter Kelley
  • 2,350
  • 8
  • 26
  • 46
3
votes
2 answers

Drupal 7 exporting a custom profile to features

I've created some new fields for users who register in admin/config/people/profile since we are still building the site I want to port these out to a features module but am completely unable to figure out how to do this? I thought it would be…
ehime
  • 8,025
  • 14
  • 51
  • 110
3
votes
1 answer

Fatal error: require_once() with module .install file, drupal 7

I get the following error after reinstalling my site on localhost. Fatal error: require_once() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/sites/all/modules/custom/redirect/redirect.install' The .install file…
rix
  • 10,104
  • 14
  • 65
  • 92
3
votes
2 answers

Attach_field_load() drupal 7

I have created some fields in drupal 7 in create user administration. I want those fields in my custom form in my custom module in drupal 7. I am not sure but this function attach_field_load() will do the trick. If someone can help. Regards
Murtaza Khursheed Hussain
  • 15,176
  • 7
  • 58
  • 83
3
votes
3 answers

In Drupal 7, how do I get a list of all blocks being used on the page?

I'm building a module that manages ad units in the form of blocks that all need to be aware of each other and pass information around. Thus I need to find a simple hook or other function to get a listing of every block that will be used on the…
Adam Friedman
  • 520
  • 6
  • 20