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
0 answers

Drupal 8 JSON API : Convert relative url to absolute url

I am using json api to fetch my sites content. The body field in the article contains some images which when fetched using json api returns image path in relative format (eg : sites/default/files/08-2016/abcd.png). But I want this images path in…
Subhash
  • 178
  • 1
  • 9
4
votes
1 answer

Drupal 8.3 Custom Rest POST Error BadRequestHttpException: The type link relation must be specified

I have try to create a Custom REST POST plugin in my Drupal 8.3.2 for get an external JSON and then create an article from that. I have follow that guide: How to create Custom Rest Resources for POST methods in Drupal 8 And this is my…
Mettek
  • 409
  • 6
  • 13
4
votes
3 answers

Drupal - optimal WYSIWYG editor with image browsing support

Currently using CKEditor + IMCE. http://drupal.org/project/ckeditor + http://ckeditor.com/ http://drupal.org/project/imce Are there better alternatives for a Drupal rich-text editor with image upload support? To set it up, I add the modules,…
Andrei
  • 529
  • 5
  • 12
4
votes
1 answer

Drupal run update.php shown in Zip archive support missing

Anyone suggestion to me. I have update drupal modules in live version, shown this error. How to fix this...
tamilselvancst
  • 478
  • 1
  • 3
  • 19
4
votes
2 answers

what is the purpose of Id in drupal .info

In Drupal , what is ;$Id$? I know we use this in the .info file, which tells Drupal our module information. My question is why is ;$Id$ necessary?
Bharanikumar
  • 25,457
  • 50
  • 131
  • 201
4
votes
3 answers

Drupal 8 - Canvas element is getting removed from the page

I am new to Drupal 8. I am trying to implement Chart js in Drupal 8. I am trying to create a element to load the chart. But while rendering the page, element is getting removed automatically. Below the controller code. class…
Edwin Alex
  • 5,118
  • 4
  • 28
  • 50
4
votes
7 answers

Hook called before to delete a node

I'm writing a custom module, and I would like to do some checks before the node is deleted. Is there a hook that gets trigerred before a node is deleted? And is there a way to somehow prevent the deletion? BTW, I'm using drupal6
Ammar Ibrahim
  • 313
  • 3
  • 9
4
votes
1 answer

drupal jQuery 1.4 on specific pages

I'm looking for a way to force drupal to use 1.4 on specific pages. This is the same as this old question: drupal jQuery 1.4 on specific pages It look me a while to try the answer which I marked correct. But because I'm new to module dev overall I…
Mark
  • 32,293
  • 33
  • 107
  • 137
4
votes
3 answers

How to change Drupal services default response format to JSON?

I'm using Drupal services with REST server to provide API. Previously I only work with 1 type of response, JSON, so I didn't need extra extension ".json" to the URL. Now I have to add new formatter, XML. Then the problem begin, all API without any…
4
votes
2 answers

How to set permission in custom drupal module in Drupal7

I have created a custom Drupal7 form module , but I want to show the form to the authenticated users only . I want to create the module likewise that it could have check-box options in the people->permission section from where I could set the…
user3170182
4
votes
3 answers

Include OpenId in drupal

i want to create a OpenId login system like stackoverflow :) in drupal..By default, drupal doesn't offer this..is there any plugin that does this job? EDIT:the user should ALSO be able to login with their yahoo, gmail, aol or blogger account..u guys…
Sam
  • 339
  • 1
  • 6
  • 18
4
votes
3 answers

drupal's hook_preprocess_page not working as expected

i am having an issue where hook_preprocess_page 's changes to &$variables is not being rendered, even though it is the last item under $theme_registry['page']['preprocess functions']. logging contents of $variables to a file show the contents…
Peter Carrero
  • 1,596
  • 2
  • 13
  • 13
4
votes
1 answer

How does one create product collections in Ubercart?

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…
quinn
  • 5,508
  • 10
  • 34
  • 54
4
votes
2 answers

Remove heading from Superfish Menu Drupal 7

I'm working with Drupal for the first time, and have been able to find answers for all of my other questions, so far, on either Drupal's forms or via other means. However, I can't seem to find a way to remove the "Main Menu" header from my…
eidsonator
  • 1,319
  • 2
  • 11
  • 25
4
votes
1 answer

How to create a view using code in Drupal 7?

We can create a view from admin panel. But I want to create a view using php code. Can anyone show me the way?
Al- Imran Khan
  • 187
  • 1
  • 5
  • 14